mjphaynes / php-resque

php-resque is a Redis-backed PHP library for creating background jobs, placing them on multiple queues, and processing them later.
MIT License
222 stars 50 forks source link

unique jobs #79

Open scones opened 6 years ago

scones commented 6 years ago

short description:

clone this funtionality: https://github.com/resque/resque-loner

(a job with the same payload will only be added once)

This is particularly mighty in combination with delayed jobs.

merlindorin commented 6 years ago

@scones I really like the plugin design (was thinking about that for the feature "retry").

We have everything we need to do that in php-resque. We just need a register method somewhere. Anyone motivated for such implementation?

scones commented 6 years ago

depends on #82, obviously