Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Viewing all articles
Browse latest Browse all 873

What can make a sidekiq worker produce eroneous or even impossible method responses

$
0
0

We have a Worker which had a bug that caused eroneous responses to a method being called. The issue has since been fixed, however when we restart the background workers we seem to still experience the issue.

We know the issue is resolved because for the meantime we have moved the logic to a rake task and it is now working fine. We suspect the issue relates to failed or unperformed jobs in the sidekiq queue.

We tried to overcome this by clearing the redis DB with the below approach:

Sidekiq.redis { |r| puts r.flushall }

Has anyone experienced a similar issue when using Sidekiq/Redis and how did you over come it?


Viewing all articles
Browse latest Browse all 873

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>