feature #696: Add flush method for accounting

This commit is contained in:
Daniel Molina committed 2011-07-08 18:57:55 +02:00
1 parent de286e6748
commit f6493e1f2b
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -55,6 +55,8 @@ module OneWatch
# Upate the active VMs
@active_vms = new_active_vms.sort
WatchHelper::Vm.flush
end
private
+2 -2
View File
@@ -30,7 +30,7 @@
:STEPS: 1
# Number of VM records to preserve
:WINDOW_SIZE: 100
:WINDOW_SIZE: 5
#-------------------------------------------------------------------------------
# HOST Monitoring
@@ -42,7 +42,7 @@
:STEPS: 3
# Number of HOST records to preserve
:WINDOW_SIZE: 100
:WINDOW_SIZE: 5
#-------------------------------------------------------------------------------
# Accounting