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 passingRedisClientOpt
,RedisFailoverClientOpt
, orRedisClusterClientOpt
as a pointer,
update your code to pass as a value.ErrorMsg
field inRetryTask
andArchivedTask
was renamed toLastError
.
Added
MaxRetry
,Retried
,LastError
fields were added to all task types returned fromInspector
.MemoryUsage
field was added toQueueStats
.DeleteAllPendingTasks
,ArchiveAllPendingTasks
were added toInspector
DeleteTaskByKey
andArchiveTaskByKey
now supports deleting/archivingPendingTask
.- asynq CLI now supports deleting/archiving pending tasks.