github hibiken/asynq v0.19.0

latest releases: v0.24.1, v0.24.0, v0.23.0...
2 years ago

This release includes an introduction of task retention after successful processing. With Retention option, you can specify how long the task should be retained in the queue as a completed task.

Changed

  • NewTask takes Option as variadic argument
  • Bumped minimum supported go version to 1.14 (i.e. go1.14 or higher is required).

Added

  • Retention option is added to allow user to specify task retention duration after completion.
  • TaskID option is added to allow user to specify task ID.
  • ErrTaskIDConflict sentinel error value is added.
  • ResultWriter type is added and provided through Task.ResultWriter method.
  • TaskInfo has new fields CompletedAt, Result and Retention.

Removed

  • Client.SetDefaultOptions is removed. Use NewTask instead to pass default options for tasks.

Don't miss a new asynq release

NewReleases is sending notifications on new releases.