Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Configure task with misfire_grace_time in add_schedule() #908

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/versionhistory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ APScheduler, see the :doc:`migration section <migration>`.
(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**

Expand Down
1 change: 1 addition & 0 deletions src/apscheduler/_schedulers/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading