mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
usage: Fix regression build fail from fc3905fb, missing closing parenthesis
We've to test our commits, build 'em before committing :) Signed-off-by: Rohit Yadav <bhaisaab@apache.org> (cherry picked from commit c47f685b1f323d1d8316ef6067c11cf14ecabbc6) Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
fc3905fb57
commit
0a1a207a19
@ -1430,7 +1430,7 @@ public class UsageManagerImpl extends ManagerBase implements UsageManager, Runna
|
||||
timeSinceJob = now - lastSuccess;
|
||||
}
|
||||
|
||||
if ((timeSinceJob > 0) && (timeSinceJob > (aggregationDurationMillis - 100)) {
|
||||
if ((timeSinceJob > 0) && (timeSinceJob > (aggregationDurationMillis - 100))) {
|
||||
if (timeToJob > (aggregationDurationMillis/2)) {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("it's been " + timeSinceJob + " ms since last usage job and " + timeToJob + " ms until next job, scheduling an immediate job to catch up (aggregation duration is " + m_aggregationDuration + " minutes)");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user