parent
2c5c068365
commit
a95c167dd4
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,8 @@ class FeedInsertWorker
|
||||||
with_read_replica do
|
with_read_replica do
|
||||||
check_and_insert
|
check_and_insert
|
||||||
end
|
end
|
||||||
|
|
||||||
|
perform_notify_for_list if !feed_filtered? && notify_for_list?
|
||||||
rescue ActiveRecord::RecordNotFound
|
rescue ActiveRecord::RecordNotFound
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
@ -39,7 +41,6 @@ class FeedInsertWorker
|
||||||
else
|
else
|
||||||
perform_push
|
perform_push
|
||||||
perform_notify if notify?
|
perform_notify if notify?
|
||||||
perform_notify_for_list if notify_for_list?
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue