This commit is contained in:
yuanke 2016-10-26 14:31:39 +08:00
parent 16fd8ff658
commit e7bd24b552
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class News < ActiveRecord::Base
def delay_news_wechat_send
if self.course
self.delay(:queue => 'high_priority').news_wechat_message
self.delay(:queue => 'high_priority',priority: -1).news_wechat_message
end
end