Status: smarter...
This commit is contained in:
parent
10f9550059
commit
f562f25d82
|
@ -90,7 +90,7 @@ module LogAn::Inc
|
|||
@select = LogAn::Inc::Select.new
|
||||
status = lambda do
|
||||
@select.at Time.now+5, &status
|
||||
LogAn::Logging.info :recv_lines => @logs.counter, :connections => @serv && @serv.clients
|
||||
LogAn::Logging.info :recv_lines => @logs.counter, :connections => @serv && @serv.clients.map{|cl|cl.sock.peeraddr}
|
||||
@conf[:stores].each{|key, db| db.flush!}
|
||||
end
|
||||
status.call
|
||||
|
|
Loading…
Reference in a new issue