Giter Club home page Giter Club logo

Comments (3)

Hexagon avatar Hexagon commented on May 31, 2024

There were a bug in croner where high load (on the system) would cause an early trigger. Javascript timeout "lost" time. I think it were fixed in 4.3.15, whereas pm2 use 4.1.92. It could either be that, or a bug in pm2.

In recent versions, it is impossible for croner to run early or trigger two runs the same second. I would recommend them to use 6.x.

PR available in Unitech/pm2#5317

Will leave this bug open and investigate further when there is time

from croner.

faustoFF avatar faustoFF commented on May 31, 2024

@Hexagon thank you for the answer! I will try somehow to use fresh croner. Seems like pm2 is not actively maintained :(

from croner.

Hexagon avatar Hexagon commented on May 31, 2024

@faustoFF You could try using https://docs.npmjs.com/cli/v8/configuring-npm/package-json#overrides and point it to a recent version, latest 4.x should be compatible. Maybe even 5.x. If 5.7.0 works it would be optimal.

6.x will not work ootb, it has a different interface.

Let me know how it works out.

from croner.

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.