FIX: Cached badge_count isn't updated after backfilling badges (#11281)
This commit is contained in:
parent
625cf5a8ae
commit
333f0af0ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue