mirror of https://github.com/apache/cloudstack.git
server: Fix DirectDownload certificate check initial delay (#7494)
This PR adjusts the DirectDownload certificate check initial delay. Since the time unit is in hours, I think it was a mistake to schedule the initial check to be in 60 hours after management servers start - the intention was likely 60 seconds. We had turned this feature on to run hourly, not realizing we would have to wait 2.5 days to see it first run! Co-authored-by: Marcus Sorensen <mls@apple.com>
This commit is contained in:
parent
3cb4c801fb
commit
8604cb5328
|
|
@ -742,7 +742,7 @@ public class DirectDownloadManagerImpl extends ManagerBase implements DirectDown
|
|||
executorService.scheduleWithFixedDelay(
|
||||
new DirectDownloadCertificateUploadBackgroundTask(this, hostDao, dataCenterDao,
|
||||
directDownloadCertificateDao, directDownloadCertificateHostMapDao),
|
||||
60L, DirectDownloadCertificateUploadInterval.value(), TimeUnit.HOURS);
|
||||
1L, DirectDownloadCertificateUploadInterval.value(), TimeUnit.HOURS);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue