Bulk award badge does not update grant_count

I found that the Bulk Award in Admin - Badges does not update grant_count.
After I bulk award, I need to execute Badge.ensure_consistency! manually.
I’m using Discourse 2.9.0.beta5.

The grant_badge value is updated by the EnsureDbConsistency background job, but you can speed it up by triggering it manually from your sidekiq/scheduler page. :+1:

Could you give that a test and see if that solves your issue?

1 Like

It works. I didn’t find the EnsureDbConsistency job before. :rofl:

Thank you!

1 Like

PR: compatability issues with Sidekiq 6.5.0 — update will work