Status-informations every 5 seconds added (flush cache, not db)
This commit is contained in:
parent
0de5632516
commit
a314bd8d9a
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module LogAn::Inc
|
|||
status = lambda do
|
||||
@select.at Time.now+5, &status
|
||||
$stderr.puts "#{Time.now.strftime"%H:%M:%S"}|INFO|Statistic|#{@select.inspect}"
|
||||
@conf[:stores].each{|key, db| db.source.source.flush!}
|
||||
@conf[:stores].each{|key, db| db.flush!}
|
||||
end
|
||||
status.call
|
||||
|
||||
|
|
Loading…
Reference in a new issue