mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
c00648b4ae3e1ed4458ebdfce3879682cd9cc449
Calculating the next delay based on the previous delay causes daemon restarts to start from scratch, as we don't persist it. This can cause a few server restarts to generate many unnecessary sends. This patch changes the next delay calculation to use the creation time instead, and also adds a <=1m random perturbation to avoid all queued emails to be retried at the exact same time after a restart.
Description
No description provided
Languages
Go
84.1%
Shell
11.1%
Python
2.8%
Dockerfile
1%
CSS
0.7%
Other
0.3%