Skip to content

v0.15.0

Compare
Choose a tag to compare
@hibiken hibiken released this 31 Jan 14:13
· 362 commits to master since this release

IMPORTATNT: All Inspector related code are moved to subpackage "github.com/hibiken/asynq/inspeq"

Changed

  • Inspector related code are moved to subpackage "github.com/hibken/asynq/inspeq".
  • RedisConnOpt interface has changed slightly. If you have been passing RedisClientOpt, RedisFailoverClientOpt, or RedisClusterClientOpt as a pointer,
    update your code to pass as a value.
  • ErrorMsg field in RetryTask and ArchivedTask was renamed to LastError.

Added

  • MaxRetry, Retried, LastError fields were added to all task types returned from Inspector.
  • MemoryUsage field was added to QueueStats.
  • DeleteAllPendingTasks, ArchiveAllPendingTasks were added to Inspector
  • DeleteTaskByKey and ArchiveTaskByKey now supports deleting/archiving PendingTask.
  • asynq CLI now supports deleting/archiving pending tasks.