1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #696: Add flush method for accounting

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

View File

@ -55,6 +55,8 @@ module OneWatch
# Upate the active VMs
@active_vms = new_active_vms.sort
WatchHelper::Vm.flush
end
private

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