mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 19:45:00 +08:00

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
9 lines
151 B
Ruby
9 lines
151 B
Ruby
module Jobs
|
|
class ProcessBadgeBacklog < Jobs::Scheduled
|
|
every 1.minute
|
|
def execute(args)
|
|
BadgeGranter.process_queue!
|
|
end
|
|
end
|
|
end
|