tarantool / queue

Create task queues, add and take jobs, monitor failed tasks
Other
236 stars 52 forks source link

Fix work with "ttl" of buried task #161

Closed LeonidVas closed 2 years ago

LeonidVas commented 2 years ago

Before the patch if a task has been "buried" after it was "taken" (and the task has "ttr") when the time in i_next_event will be interpreted as "ttl" in utubettl_fiber_iteration and the task will be deleted.

The same as https://github.com/tarantool/queue/commit/8c0c535343166d0ccef1ca7a76b4a529f89d0287