mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-29 18:46:23 -05:00
0f9678fe49
Introduced badge triggers, introduced concept of badge that happens due to a post but has the post hidden Delta badge grant happens once a minute, backed by redis
8 lines
151 B
Ruby
8 lines
151 B
Ruby
module Jobs
|
|
class ProcessBadgeBacklog < Jobs::Scheduled
|
|
every 1.minute
|
|
def execute(args)
|
|
BadgeGranter.process_queue!
|
|
end
|
|
end
|
|
end
|