-
Notifications
You must be signed in to change notification settings - Fork 56
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 background email job for disabled users #1255
Fix background email job for disabled users #1255
Conversation
…eached Signed-off-by: Joas Schilling <[email protected]>
/backport to stable24 |
🐢 Performance warning. |
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
75ace8d
to
f0ad2fb
Compare
🐢 Performance warning. |
/backport to stable23 |
The backport to stable24 failed. Please do this backport manually. |
The backport to stable23 failed. Please do this backport manually. |
Before the timestamp was increased with every run for disabled users, so in our database we had an entry with next send time set to
2147477417
which isTue Jan 19 2038 01:30:17 GMT+0000
and fails to increase further resulting in:But we should only increase the disabled users when the send time was triggered, like we do for normal users. So here is the fix and a migration to decrease the send time for users that have the value already too far in the future.
Fix #1254