Skip to content

Scheduler stopping after long time running. #235

@rodmaz

Description

@rodmaz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions