Skip to content

1.17.1 - Don’t set `delayUntil` if there is no delay

Latest
Compare
Choose a tag to compare
@penny-for-vapor penny-for-vapor released this 13 Feb 11:49
acdf38b

What's Changed

Don’t set delayUntil if there is no delay by @wfltaylor in #140

Currently, if a job is retried with no delay, the delayUntil property is set to the current time. I noticed this since it was causing some issues with a new test in vapor-community/vapor-queues-fluent-driver#15. This PR adjusts this so that delayUntil is nil when there is no retry delay. This aligns the behaviour with how new jobs with no delay are created.

This patch was released by @gwynne

Full Changelog: 1.17.0...1.17.1