Closed aleclarson closed 4 years ago
All the queue drivers do :transform(2, 1, state.DONE) before returning the task from their .delete method.
:transform(2, 1, state.DONE)
.delete
This is needed to notify the user that task is successfully done. Why is it bothering you?
@bigbes The queue drivers already do that in their delete methods.
delete
https://github.com/tarantool/queue/blob/593c9f6f949c84865bcd383d542876ebbc93520a/queue/abstract/driver/fifo.lua#L80
https://github.com/tarantool/queue/blob/593c9f6f949c84865bcd383d542876ebbc93520a/queue/abstract/driver/fifottl.lua#L296
https://github.com/tarantool/queue/blob/593c9f6f949c84865bcd383d542876ebbc93520a/queue/abstract/driver/utube.lua#L95
https://github.com/tarantool/queue/blob/593c9f6f949c84865bcd383d542876ebbc93520a/queue/abstract/driver/utubettl.lua#L309
LGTM
Continue https://github.com/tarantool/queue/pull/118
Closed in favor of #118.
All the queue drivers do
:transform(2, 1, state.DONE)
before returning the task from their.delete
method.