切分一下,解决delayed_job卡死问题。
This commit is contained in:
parent
d7155afbe5
commit
d34ed4b744
|
@ -222,6 +222,10 @@ class News < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
|
||||
unless vs.empty?
|
||||
self.delay.contain_news_message(vs)
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue