seomoz / qless-core

Core Lua Scripts for qless
MIT License
85 stars 33 forks source link

Added a 'worker' parameter to 'put' #35

Closed dlecocq closed 10 years ago

dlecocq commented 10 years ago

This was so that we could detect the case where a worker that owns a job is the one that's invoking the 'put'. In that case, we'd like to avoid sending the lock lost message since presumably it knows that it has moved the job.

myronmarston commented 10 years ago

Thanks, @dlecocq!