Scheduler stopping after long time running.
rodmaz opened this issue · comments
Rodrigo Mazzilli commented
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?