Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

payload_hash staying around #13

Closed
bradleypriest opened this issue May 9, 2013 · 1 comment
Closed

payload_hash staying around #13

bradleypriest opened this issue May 9, 2013 · 1 comment

Comments

@bradleypriest
Copy link

Unique jobs have been broken in testing since sidekiq/sidekiq@07a2781.

The payload_hash stays in Redis across multiple runs within the same timeout.

I'm not sure if there's anything that can be done about this

https://github.com/form26/sidekiq-unique-jobs/blob/master/lib/sidekiq-unique-jobs/middleware/client/unique_jobs.rb#L22

@shingara
Copy link

I jhave same issue on testing. So I flush the MockRedis to be sure the payload is not here anymore

After a clear of you job do : SidekiqUniqueJobs.redis_mock.flushdb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants