diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java b/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java index 3ea8c68d3..4d84b1fdf 100644 --- a/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java +++ b/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java @@ -1915,12 +1915,14 @@ class CertStatusUpdateThread extends Thread { // block the update while another thread // (such as the CRL Update) is running CMS.debug("About to start updateCertStatus"); - synchronized (this) { + synchronized (_cr.mCertStatusUpdateThread) { CMS.debug("Starting updateCertStatus (entered lock)"); _cr.updateCertStatus(); + CMS.debug("updateCertStatus done"); } } catch (Exception e) { + CMS.debug("updateCertStatus done"); } try { sleep(_interval * 1000); |