diff --git a/CHANGELOG.md b/CHANGELOG.md index a9e60a5..71a1e13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [Unreleased] - + +### Changed +- Change default task `retries` to `[2, 4, 8, 16, 32]` + ## [0.18.1] - 2024-02-14 ### Fixed diff --git a/src/mel/task.cr b/src/mel/task.cr index f5246dd..8fb2c08 100644 --- a/src/mel/task.cr +++ b/src/mel/task.cr @@ -56,7 +56,7 @@ abstract class Mel::Task in Indexable retries.map { |time| time.is_a?(Time::Span) ? time : time.seconds }.to_a in Nil - [1.second, 2.seconds] + [2.seconds, 4.seconds, 8.seconds, 16.seconds, 32.seconds] end end