PERF: Cache ranks for featured badges, to simplify user serialization (#8698)

This commit is contained in:
David Taylor
2020-01-14 14:26:49 +00:00
committed by GitHub
parent e474cda321
commit cff6e941de
7 changed files with 157 additions and 31 deletions

View File

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