File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 1.2.0 - 2024-07-23
3+ ## 1.2.0 - 2024-07-25
44
5- * The ` reschedule() ` method have an optional parameter to decrease the ttl if set to True (False by default).
6- * The ` add() ` and ` addMany ()` methods set the can_start_at by default to the current time of the database clock for consistency.
5+ * The ` reschedule() ` method has an optional parameter to decrease the TTL if set to True (False by default).
6+ * The ` add() ` and ` add_many ()` methods set the ` can_start_at ` by default to the current time of the database clock, not Python, for consistency.
77
88## 1.1.0 - 2024-07-01
99
Original file line number Diff line number Diff line change @@ -588,9 +588,13 @@ def reschedule(
588588
589589 Workers can use this method to "drop" a work unit in case of
590590 eviction (because of an external issue like terminating a machine
591- by aws and not because of a failure).
591+ by AWS and not because of a failure).
592+ Rescheduled work units are immediately available for processing again,
593+ and unless decrease_ttl is set to True, the TTL is not modified.
592594
593- This function can optionally modify the TTL.
595+ This function can optionally modify the TTL, setting decrease_ttl to
596+ True. This allows to handle a failure quickly without waiting the
597+ lease_timeout.
594598
595599 Parameters
596600 ----------
You can’t perform that action at this time.
0 commit comments