When the broker is just started, the traffic or QPS may not be stable at this 
time.
At this time, we can solve the problem by adjusting the time interval of the 
first load reporting task.


The time interval for executing the report task is 5 seconds, and it is not 
configurable.
I can add a configuration to control the delay time of the first report 
execution, such as:


//Add  the delay time configuration for the first execution
long delayReportTime = config.getDelayReportTime();


this.loadReportTask = this.loadManagerExecutor.scheduleAtFixedRate(new 
LoadReportUpdaterTask(loadManager), delayReportTime, loadReportMinInterval,
TimeUnit.MILLISECONDS);

Reply via email to