fix bug
This commit is contained in:
parent
410e4e820f
commit
2bfcff5ddc
|
@ -1,4 +1,4 @@
|
|||
if File.basename($0) != 'rake'
|
||||
if ENV['worker_num']=='0' && File.basename($0) != 'rake'
|
||||
Thread.new do
|
||||
update_route_interval = RulingBusSetting.first.update_route_interval
|
||||
while 1
|
||||
|
|
Loading…
Reference in New Issue