Coder Social home page Coder Social logo

Comments (5)

reugn avatar reugn commented on May 12, 2024 1

@joint-song, a configuration property may be introduced in the upcoming release to address this requirement.

from go-quartz.

reugn avatar reugn commented on May 12, 2024 1

@joint-song, PR #129 introduces a dedicated channel for managing misfired jobs. Providing a channel instead of a configuration flag gives the user more flexibility and control. Let me know if this aligns with your requirements.

from go-quartz.

reugn avatar reugn commented on May 12, 2024

I understand that the problem is that when using a worker pool, sometimes jobs are waiting to be processed, and their next execution time will likely be expired next time. In this case, I would suggest extending the OutdatedThreshold duration. But I agree, there is a problem with visibility. There are several ways to approach this, but have you thought about what would work best for you?

from go-quartz.

joint-song avatar joint-song commented on May 12, 2024

Java-quartz has MisfireInstruction to preventing this kind of outdated cron jobs. It has three options: MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY, MISFIRE_INSTRUCTION_FIRE_ONCE_NOW and MISFIRE_INSTRUCTION_DO_NOTHING to be configured. I think this is necessary for some scenarios.

from go-quartz.

joint-song avatar joint-song commented on May 12, 2024

Yes, this solved my problem well, thanks for your help!

from go-quartz.

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.