Code Monkey home page Code Monkey logo

Comments (7)

jlestavel avatar jlestavel commented on September 1, 2024 2

Hi everyone, I did propose some possible fix in #147 and #150. I didn't know much about the sidekiq-limit_fetch implementation, so I can't guarantee that the fix is right and optimal 😬 !

from sidekiq-limit_fetch.

deanpcmad avatar deanpcmad commented on September 1, 2024 2

I've just pushed v4.4.0 which should fix this :)

from sidekiq-limit_fetch.

deanpcmad avatar deanpcmad commented on September 1, 2024 1

I didn't realise Sidekiq 7 had released but I'll take a look. Can you share your sidekiq.yml?

from sidekiq-limit_fetch.

xdmx avatar xdmx commented on September 1, 2024

Sure, it's a pretty simple one:

---
:concurrency: 5
:dynamic: true
:queues:
  - mailers
  - critical
  - default
  - low

And then I have a limit on dynamic queues in the sidekiq.rb:

Sidekiq.configure_server do |config|
  config[:limits] = Hash.new do |_, queue_name|
    queue_name.to_s.starts_with?("proj:") ? 1 : nil
  end
end

from sidekiq-limit_fetch.

andreasunterhuber avatar andreasunterhuber commented on September 1, 2024

Any update on this issue? @xdmx

from sidekiq-limit_fetch.

deanpcmad avatar deanpcmad commented on September 1, 2024

I'm afraid I've not had chance to properly look into this yet but if anyone finds a fix, feel free to create a PR

from sidekiq-limit_fetch.

deanpcmad avatar deanpcmad commented on September 1, 2024

If @xdmx and @andreasunterhuber can test PR #150 fixes this, that would be great :)

from sidekiq-limit_fetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.