last time
This commit is contained in:
parent
1b48572674
commit
1e349e6a61
1 changed files with 2 additions and 1 deletions
|
|
@ -150,7 +150,8 @@ namespace :db do
|
|||
q.pop {|x| x.call}
|
||||
|
||||
if q.size == 0
|
||||
EventMachine::Timer.new(30) do
|
||||
q.pop {|x| x.call}
|
||||
EventMachine::Timer.new(60) do
|
||||
EM.stop
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue