Open
Description
tube:release() accepts an optional second argument opts
, which at this moment can only consist of delay
. But often when I release a task back into the queue, I need to adjust other task options, such as priority or ttl. Also, in task data I usually store additional options such as retry strategy, retry count, etc, and it would be great if I can adjust them as well when calling tube:release()
(or even better, add an extra field called extra
or meta
where users can store custom task options?).