PERF: Move post alerting into async

This commit is contained in:
Robin Ward
2015-04-20 13:34:57 -04:00
parent 6ae58d41a7
commit 5990ab855b
5 changed files with 22 additions and 2 deletions

View File

@ -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