* post keeper is calculated synchronously

* add fallback mechanism in case archive service is not up
* pass along most recently added tags to any keeper calculation
This commit is contained in:
r888888888
2018-02-26 17:48:16 -08:00
parent 0c5dcbbf68
commit 3657cacd17
9 changed files with 332 additions and 293 deletions

View File

@@ -1,6 +1,9 @@
module DelayedJobsHelper
def print_name(job)
case job.name
when "PostKeeperManager.check_and_update"
"<strong>update post tagger</strong>"
when "Tag.increment_post_counts"
"<strong>increment post counts</strong>"
@@ -68,6 +71,9 @@ module DelayedJobsHelper
def print_handler(job)
case job.name
when "PostKeeperManager.check_and_update"
""
when "Tag.increment_post_counts", "Tag.decrement_post_counts"
""