Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
there is the following code in DefaultMessageStore.java this.scheduledExecutorService.scheduleAtFixedRate(new Runnable() {
@Override
public void run() {
DefaultMessageStore.this.cleanFilesPeriodically();
}
}, 1000 * 60, this.messageStoreConfig.getCleanResourceInterval(), TimeUnit.MILLISECONDS);
scheduleAtFixedRate function should change to scheduleAtFixedRate because executions will commence after
then
{@code initialDelay+period}, then
{@code initialDelay + 2 * period}, and so on,that means executions delay time should more and more longer