This commit is contained in:
chiu 2021-08-11 16:12:37 +08:00
parent 410e4e820f
commit 2bfcff5ddc
1 changed files with 1 additions and 1 deletions

View File

@ -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