format tag subcriptions in delayed job listing

This commit is contained in:
r888888888
2016-02-10 16:11:03 -08:00
parent d75546a4e4
commit c760366e93

View File

@@ -1,6 +1,9 @@
module DelayedJobsHelper
def print_name(job)
case job.name
when "TagSubscription.process"
"<strong>process tag subscription</strong>"
when "Class#expire_cache"
"<strong>expire post count cache</strong>"
@@ -53,6 +56,9 @@ module DelayedJobsHelper
def print_handler(job)
case job.name
when "TagSubscription.process"
""
when "Class#expire_cache"
h(job.payload_object.args.flatten.join(" "))