v0.23.0
This version adds Task Aggregation feature and includes a few improvements and fixes.
Task Aggregation
This is a new feature which allows you to enqueue multiple tasks successively, and have them passed to the Handler together rather than individually. The feature allows you to batch multiple successive operations into one, in order to save on costs, optimize caching, or batch notifications, for example. See the Wiki page for details.
Added
Group
option is introduced to enqueue task in a group.GroupAggregator
and related types are introduced for task aggregation feature.GroupGracePeriod
,GroupMaxSize
,GroupMaxDelay
, andGroupAggregator
fields are added toConfig
.Inspector
has new methods related to "aggregating tasks".Group
field is added toTaskInfo
.- (CLI):
group ls
command is added - (CLI):
task ls
supports listing aggregating tasks via--state=aggregating --group=<GROUP>
flags - Enable rediss url parsing support: Thanks to @eleboucher