mutil thread
This commit is contained in:
parent
a3ef595099
commit
6d1f395caf
|
@ -24,9 +24,9 @@ class JournalObserver < ActiveRecord::Observer
|
|||
(Setting.notified_events.include?('issue_priority_updated') && journal.new_value_for('priority_id').present?)
|
||||
)
|
||||
##by senluo
|
||||
# thread4=Thread.new do
|
||||
Mailer.issue_edit(journal).deliver
|
||||
# end
|
||||
thread4=Thread.new do
|
||||
Mailer.issue_edit(journal).deliver
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue