Giter Club home page Giter Club logo

Comments (7)

jonatasrancan avatar jonatasrancan commented on June 16, 2024 1

@marcelolx yes, this solved my problem in the end
My scheduler worker loads a custom config file, and the generic one I added the disabled option

thanks for the help

from sidekiq-scheduler.

marcelolx avatar marcelolx commented on June 16, 2024

Some logs in the browser inspector maybe?

from sidekiq-scheduler.

jonatasrancan avatar jonatasrancan commented on June 16, 2024

Some logs in the browser inspector maybe?

Nothing, they are clear.

from sidekiq-scheduler.

jonatasrancan avatar jonatasrancan commented on June 16, 2024

Some extra info

sidekiq-scheduler (4.0.2)
rails (6.1.7.6)
ruby "3.0.6"
sidekiq (6.5.8)

from sidekiq-scheduler.

marcelolx avatar marcelolx commented on June 16, 2024

It's weird because the UI pulls info from Redis, so in theory it should work...

from sidekiq-scheduler.

jonatasrancan avatar jonatasrancan commented on June 16, 2024

I managed to reproduce, it's the same problem from here #361

I have multiple sidekiq processes, but all of them have the same config file.
I overwrite some params on the invocation it self.

sidekiq_high_priority: bundle exec sidekiq -q high_priority -c ${SIDEKIQ_CONCURRENCY:-20} -e ${RAILS_ENV:-production}
sidekiq_medium_priority: bundle exec sidekiq -q default -c ${SIDEKIQ_CONCURRENCY:-20} -e ${RAILS_ENV:-production}
sidekiq_low_priority: bundle exec sidekiq  -q low_priority -c ${SIDEKIQ_CONCURRENCY:-20} -e ${RAILS_ENV:-production}
sidekiq_scheduler: IS_SCHEDULER=true bundle exec sidekiq -q scheduler -c 1 -e ${RAILS_ENV:-production}

from sidekiq-scheduler.

marcelolx avatar marcelolx commented on June 16, 2024

@jonatasrancan I see, so if you had one config file for each process, it would be solved, I guess? https://github.com/sidekiq-scheduler/sidekiq-scheduler#notes-when-running-multiple-sidekiq-processors-on-the-same-redis

If you don't want to have multiple configs file, you could probably have 2, one with the scheduler enabled and another one with it disabled and then still do the overrides you need to do?

from sidekiq-scheduler.

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.