Status-informations every 5 seconds added (flush cache, not db)

master
Denis Knauf 2010-03-31 00:37:34 +02:00
parent 0de5632516
commit a314bd8d9a
1 changed files with 1 additions and 1 deletions

View File

@ -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