[
https://issues.apache.org/jira/browse/ROCKETMQ-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834142#comment-15834142
]
liyinsheng commented on ROCKETMQ-71:
------------------------------------
by the way,how can I set messageStoreConfig.CleanResourceInterval value to
change default 10000ms to 0?
Thanks
Yinsheng
> remove commitlog, messagequeue bug
> ----------------------------------
>
> Key: ROCKETMQ-71
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-71
> Project: Apache RocketMQ
> Issue Type: Bug
> Reporter: liyinsheng
> Assignee: vongosling
> Fix For: 4.1.0-incubating
>
>
> 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 {@code initialDelay} then {@code
> initialDelay+period}, then {@code initialDelay + 2 * period}, and so on,that
> means executions delay time should more and more longer
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)