mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
PERF: Move post alerting into async
This commit is contained in:
parent
6ae58d41a7
commit
5990ab855b
5 changed files with 22 additions and 2 deletions
|
@ -129,7 +129,6 @@ class PostCreator
|
|||
|
||||
if @post && errors.blank?
|
||||
publish
|
||||
PostAlerter.post_created(@post) unless @opts[:import_mode]
|
||||
|
||||
track_latest_on_category
|
||||
enqueue_jobs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue