diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst index d579d41c7..b2ef521b6 100644 --- a/docs/versionhistory.rst +++ b/docs/versionhistory.rst @@ -30,6 +30,7 @@ APScheduler, see the :doc:`migration section `. (PR by MohammadAmin Vahedinia) - Fixed the shutdown procedure of the Redis event broker - Fixed ``SQLAlchemyDataStore`` not respecting custom schema name when creating enums +- Fixed missing ``misfire_grace_time`` argument in ``AsyncScheduler`` (PR by Justin Su) **4.0.0a4** diff --git a/src/apscheduler/_schedulers/async_.py b/src/apscheduler/_schedulers/async_.py index 00e3772a1..a61beca3a 100644 --- a/src/apscheduler/_schedulers/async_.py +++ b/src/apscheduler/_schedulers/async_.py @@ -472,6 +472,7 @@ async def add_schedule( task = await self.configure_task( func_or_task_id, job_executor=job_executor, + misfire_grace_time=misfire_grace_time, max_running_jobs=max_running_jobs, ) schedule = Schedule(