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:
parent
de286e6748
commit
f6493e1f2b
@ -55,6 +55,8 @@ module OneWatch
|
||||
|
||||
# Upate the active VMs
|
||||
@active_vms = new_active_vms.sort
|
||||
|
||||
WatchHelper::Vm.flush
|
||||
end
|
||||
|
||||
private
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user