resque / resque-loner

Support for unique jobs in Resque: Only one job with the same payload per queue.
MIT License
167 stars 55 forks source link

resque-loner and rspec tests #11

Closed dkharrat closed 13 years ago

dkharrat commented 13 years ago

I'm noticing that the unique keys used to identify jobs are not being removed when running rspec in my app for things that are using resque. I've turned on inline jobs for rspec, which is not supposed to queue them up. Does resque-loner work with inline jobs?

jayniz commented 13 years ago

I haven't tried it with the inline jobs - so you're saying that your app's rpsec suite runs jobs inline, and even though they are finished the loner* keys don't get removed from redis? If so, then that's a bug - a pull request would be SWEET :)

jayniz commented 13 years ago

pinging @dkharrat

dkharrat commented 13 years ago

I haven't gotten the chance to really investigate it yet. I'll update this issue as soon as I do get the chance to look at it in more detail, and will post results.

jayniz commented 13 years ago

Alright, I'll leave it open then. Thanks!