Redis key not removed even after Resque job completes successfully <p>Here is my scenario, i'm using <a href="https://github.com/resque/resque" rel="nofollow">resque</a> to queue a job in redis, the usual way its done in ROR. The format of my key looks something like this (as per my namespace convention)</p> <pre><code>"resque:lock:Jobs::XYZ::SomeCreator-{:my_ids=&gt;[101]}" </code></pre> <p>The job runs successfully to completition. But the key still exists in redis. For a certain flow, i need to queue and execute the job again for the same parameters (the key will essentially be same). But seems like the job does not get queued.</p> <p>My guess is that since the key already exists in Redis, it does not queue the job again.</p> <p>Questions:</p> <p>Is this behavior of resque normal (not removing the key after successful completition)?</p> <p>If Yes, how should i tackle this scenario (as per best practices)?</p> <p>If No, can you help me understand what is going wrong?</p>