BMO/UserProfiles: Difference between revisions

Jump to navigation Jump to search
Line 137: Line 137:


Add a field to the ''profiles'' table which is used to track if a user's statistics need to be updated (triggered when the user file/updates/comments on a bug).  Schedule a cron job to run at an off-peak time which updates the statistics for users.  Expose those statistics via a package which monkey patches a getter into the User package.
Add a field to the ''profiles'' table which is used to track if a user's statistics need to be updated (triggered when the user file/updates/comments on a bug).  Schedule a cron job to run at an off-peak time which updates the statistics for users.  Expose those statistics via a package which monkey patches a getter into the User package.
Administrative actions, such as editing a user, group, product, etc, should also trigger the statistics to be updated.


=== Schema ===
=== Schema ===
Confirmed users
1,201

edits

Navigation menu