Skip to content
Snippets Groups Projects
Commit 6c7dadce authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Use aligned time as last cleanup time

parent f337b86c
No related branches found
No related tags found
No related merge requests found
...@@ -275,7 +275,8 @@ sub plugin_init ...@@ -275,7 +275,8 @@ sub plugin_init
# Set last cleanup to now # Set last cleanup to now
my $now = time(); my $now = time();
foreach my $key (keys %{$statsConfig}) { foreach my $key (keys %{$statsConfig}) {
$lastCleanup->{$key} = $now; # Get aligned time so we cleanup sooner
$lastCleanup->{$key} = _getAlignedTime($now);
} }
$lastConfigManagerStats = $now; $lastConfigManagerStats = $now;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment