dbader / schedule

Python job scheduling for humans.
https://schedule.readthedocs.io/
MIT License
11.73k stars 959 forks source link

added delay_seconds parameter to run_pending #483

Open Tahlor opened 3 years ago

Tahlor commented 3 years ago

Added delay_seconds parameter to run_pending to mirror run_all. This is helpful to prevent sending too many requests too fast and can also prevent race conditions (e.g., if jobs create asynchronous tasks).