gresrun / jesque

An implementation of Resque in Java.
http://gresrun.github.io/jesque
Apache License 2.0
628 stars 131 forks source link

inFlight key creation during pop operation #127

Open dvizelman opened 7 years ago

dvizelman commented 7 years ago

inFlight key is created in jesque_pop.lua and removed just after task was processed.

As far as I understand , this functionality is used to prevent task loss in case worker failure occurs between pop operation and task execution (which is great :-)

If that's the case, my question is why this functionality is supported only when queueType == 'list'?

I would like to add this functionality for queueType == 'zset' and also for RESET_TO_HIGHEST_PRIORITY next queue strategy.