mxsm opened a new issue, #4738:
URL: https://github.com/apache/rocketmq/issues/4738

   as following(BrokerController#initializeBrokerScheduledTasks):
   
![image](https://user-images.githubusercontent.com/15797831/182017716-4395273b-3d70-450c-9f0f-13286d52f623.png)
   The variable period is used for schedule fixed rate one day to execute. if 
we replace with the following code
   ```java
   final long period = TimeUnit.DAYS.toMillis(1);
   ```
   The Code looks cleaner and more elegant. You can understand the meaning at a 
glance when read the source code
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to