New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to recalculate user statistics #3757
Comments
I just noticed there's a |
@r888888888 2866335 broke the site map. There's a typo in the route, should be |
As noted by myself and several others, the refresh function doesn't seem to change any of the numbers for uploads, note changes, or post changes. |
This is fixed now. |
Related to #3756. By now, there are probably plenty of user's whose upload counts are off. Actually, this was probably an issue even before asynchronous uploads, as my own uploads are off, and I haven't had any of those failed uploads stuck in the preprocessed state.
https://danbooru.donmai.us/users/23799
https://danbooru.donmai.us/counts/posts?tags=user%3ABrokenEagle98+status%3Aany
However, it's not just uploads, as other statistics are off as well.
Note versions:
https://danbooru.donmai.us/note_versions?limit=100&page=303&search%5Bupdater_id%5D=23799
Post versions:
https://danbooru.donmai.us/post_versions?limit=100&page=4183&search%5Bupdater_id%5D=23799
Most of the other ones were spot on, but some of them were still off by one.
I see a couple possible solutions to this:
1. Run a daily, weekly, or monthly task that recalculates all statistics for all users
This would be quite laborious as there are over half a million users.
2. Run a recheck everytime a profile page is visited
Not as laborious as 1, although it would still be a bit wasteful unless it was restricted to running once per day, or something like that.
3. Have an on demand recheck option for certain levels of users
Kind of like how the tag fix option works. It could be restricted to just Builder+ to prevent abuse.
The text was updated successfully, but these errors were encountered: