AllenNeuralDynamics / aind-watchdog-service

Data staging service that prepares acquistion data for cloud upload to Amazon S3 and Code Ocean processing.
https://allenneuraldynamics.github.io/aind-watchdog-service/
MIT License
2 stars 1 forks source link

Grace time wait period #66

Closed arielleleon closed 1 month ago

arielleleon commented 2 months ago

If apscheduler starts a job but the system is busy and the scheduled start is skipped, apscheduler will not continue to run the job. It will error out saying it missed it's scheduled time. Apscheduler Job class has a param called misfire_grace_time which should be set to extend the grace time when a scheduled job is missed