FIX: Cached badge_count isn't updated after backfilling badges (#11281)

This commit is contained in:
Gerhard Schlager 2020-11-18 22:01:56 +01:00 committed by GitHub
parent 625cf5a8ae
commit 333f0af0ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ module Jobs
BadgeGranter.revoke_ungranted_titles!
UserBadge.ensure_consistency! # Badge granter sometimes uses raw SQL, so hooks do not run. Clean up data
UserStat.update_distinct_badge_count
end
end