Mike Perham

Results 385 comments of Mike Perham
trafficstars

Running jobs don't have access to any state except their arguments. They are designed to be very very lightweight: MyJob.new.perform(args...) If you give me a higher level idea of what...

The WorkSet is updated asynchronously every N seconds. It's not real-time. https://github.com/sidekiq/sidekiq/wiki/API#workers

You won't be able to solve your issue with the API. It's not designed for that purpose. With Sidekiq 7+ you can throttle job execution from a specific queue with...

Issue #5834 in 7.0.9 rewrote the pause listener to use the native redis-client pubsub API, rather than the older redis.rb API. I don't know what's wrong, no one has reported...

Use the Expiring Jobs feature instead.

https://github.com/sidekiq/sidekiq/wiki/Pro-Expiring-Jobs

I’m not sure why the uniqueness feature is acting so strange for you. If you enqueue or schedule one, it should not allow another job to enqueue within 10 minutes...

What does your intiializer look like?

But ultimately, why? A Thread should never use more than one Redis connection at a time. If there are N threads and N connections, why would you need 5 more?...