mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
feature #696: Add flush method for accounting
This commit is contained in:
1 parent
de286e6748
commit
f6493e1f2b
2 files changed
+4
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user