Status: ready
This commit is contained in:
parent
bc097f8532
commit
b7d6689225
|
@ -93,7 +93,7 @@ module LogAn::Inc
|
||||||
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,
|
LogAn::Logging.info :recv_lines => @logs.counter,
|
||||||
:connections => @serv && @serv.clients.map {|cl| cl.sid }
|
:connections => @serv && @serv.clients.map {|cl| cl.sock.peeraddr }
|
||||||
@conf[:stores].each {|key, db| db.flush!}
|
@conf[:stores].each {|key, db| db.flush!}
|
||||||
end
|
end
|
||||||
status.call
|
status.call
|
||||||
|
|
Loading…
Reference in a new issue