lantins / resque-lock-timeout

A Resque plugin; adds locking, with optional timeout/deadlock handling to resque jobs.
MIT License
53 stars 20 forks source link

Ruby 1.9.2 & Resque 1.8.2 - Lock does not work properly #4

Closed arambert closed 13 years ago

arambert commented 13 years ago

At first I thought that lock did not work only when @lock_timeout was defined but I found that the plugin rarely works with my conf. I suppose it's because of ruby 1.9.2.. Has anyone got the same problem ?

arambert commented 13 years ago

sorry please ignore this issue !!!

lantins commented 13 years ago

What was the problem in the end arambert? I'm curious =)

arambert commented 13 years ago

At first I thought lock timeout was acting on the queue in order to avoid having several times the same job in the queue (That's what i was looking for). But then i understood that it was in fact made to protect the execution phase in order to avoid running twice or more at the same time the same job (that very useful too !).

lantins commented 13 years ago

Thanks for getting back to me!

Perhaps a couple of changes to the README would make it a little more clear what the plugin actually does?

Luke

arambert commented 13 years ago

Yes it could be helpful !

lantins commented 13 years ago

Okay! Working on some changes to the README. I'd very much appreciate your eyeballs to giving it a once over when I'm done =)