Changed
- Tweaked behavior of
JobRetry
so that it does actually update theScheduledAt
time of the job in all cases where the job is actually being rescheduled. As before, jobs which are already available with a pastScheduledAt
will not be touched by this query so that they retain their place in line. PR #211.
Fixed
- Fixed a leadership re-election issue that was exposed by the fix in #199. Because we were internally using the same TTL for both an internal timer/ticker and the database update to set the new leader expiration time, a leader wasn't guaranteed to successfully re-elect itself even under normal operation. PR #217.