This commit is contained in:
parent
16fd8ff658
commit
e7bd24b552
|
@ -188,7 +188,7 @@ class News < ActiveRecord::Base
|
||||||
|
|
||||||
def delay_news_wechat_send
|
def delay_news_wechat_send
|
||||||
if self.course
|
if self.course
|
||||||
self.delay(:queue => 'high_priority').news_wechat_message
|
self.delay(:queue => 'high_priority',priority: -1).news_wechat_message
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue