Status: smaller...

This commit is contained in:
Denis Knauf 2010-04-01 15:38:48 +02:00
parent b0b9e6e4ed
commit 5926b94e68

View file

@ -90,7 +90,7 @@ module LogAn::Inc
@select = LogAn::Inc::Select.new @select = LogAn::Inc::Select.new
status = lambda do status = lambda do
@select.at Time.now+5, &status @select.at Time.now+5, &status
LogAn::Logging.info :recv_lines => @logs.counter, :connections => @serv.clients LogAn::Logging.info :recv_lines => @logs.counter, :connections => @serv && @serv.clients
@conf[:stores].each{|key, db| db.flush!} @conf[:stores].each{|key, db| db.flush!}
end end
status.call status.call