Skip to content

Commit

Permalink
Fix long line
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljmarshall committed Feb 10, 2021
1 parent 1c07173 commit 7a53be0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ public GenericBrokerHostUsageImpl(int hostUsageCheckIntervalMin,
// Need to run checkCpuLoad first to seed with some cpu usage
checkCpuLoad();
doCalculateBrokerHostUsage();
executorService.scheduleAtFixedRate(this::checkCpuLoad, CPU_CHECK_MILLIS, CPU_CHECK_MILLIS, TimeUnit.MILLISECONDS);
executorService.scheduleAtFixedRate(this::checkCpuLoad, CPU_CHECK_MILLIS,
CPU_CHECK_MILLIS, TimeUnit.MILLISECONDS);
executorService.scheduleAtFixedRate(this::doCalculateBrokerHostUsage, hostUsageCheckIntervalMin,
hostUsageCheckIntervalMin, TimeUnit.MINUTES);
}
Expand Down

0 comments on commit 7a53be0

Please sign in to comment.