-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix generated avatars cache #38143
Fix generated avatars cache #38143
Conversation
1093166
to
da264cc
Compare
/backport to stable26 |
/backport to stable25 |
da264cc
to
66b0be3
Compare
66b0be3
to
02a020f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but didnt test
02a020f
to
1bc3572
Compare
return version_compare($versionFromBeforeUpdate, '25.0.0.10', '<='); | ||
// This job only runs if the server was on a version lower than or equal to 27.0.0 before the upgrade. | ||
// To clear the avatar cache again, bump the version to the currently released version (and change the operator to <= if it's not the master branch) and wait for the next release. | ||
return version_compare($versionFromBeforeUpdate, '27.0.0', '<'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little tempted to remove this check and always clear the avatar cache. That will make things easier in the future, but of course increase the load if it's not intended to clear the avatar cache.
1bc3572
to
47385be
Compare
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: jld3103 <jld3103yt@gmail.com>
47385be
to
2a19753
Compare
CI failure seems unrelated. So merge @provokateurin ? |
Yes, I don't have the permissions though. Can you? |
Don't know if this is the right place. |
Summary
Patch needs to be backported to 25 & 26 and have their respective latest released versions set in the comparison
Checklist