Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler stopping after long time running. #235

Open
rodmaz opened this issue Dec 11, 2018 · 0 comments
Open

Scheduler stopping after long time running. #235

rodmaz opened this issue Dec 11, 2018 · 0 comments

Comments

@rodmaz
Copy link

rodmaz commented Dec 11, 2018

We use later.js in a microservice running on a Docker container. The code looks like that:

// Set check and update interval. We check at second 1 of every minute.
const checkInterval = later.parse.recur().on(1).second();
seneca.log.info({ notice: 'check and update at second 1 of every minute' });
later.setInterval(() => { ...}, checkInterval);

However after running for a long time (weeks) without any issues, later stops firing the events in the interval. It simply stops firing, even though the process/Docker continuous running w/o any problems.

Have you even experienced anything similar?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant