mirror of
https://github.com/EddieTheCubeHead/Stagnum.git
synced 2026-04-26 06:05:49 +03:00
[GH-ISSUE #54] Move scheduling from fastapi-utils to rocketry #42
Labels
No labels
bug
bug
client
design
documentation
feature
feature
infrastructure
pull-request
ready for development
server
server
spike
technical work
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Stagnum#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @EddieTheCubeHead on GitHub (Feb 2, 2024).
Original GitHub issue: https://github.com/EddieTheCubeHead/Stagnum/issues/54
#43 adds scheduling with pytest-utils. This is bad for multiple reasons: not easy to configure, functions poorly with testing and most importantly seems to be pretty slow. Move scheduling to rocketry. Figure out how to test the tasks scheduled with rocketry.
https://rocketry.readthedocs.io/en/stable/cookbook/fastapi.html
Acceptance criteria: scheduling is moved to rocketry, frameworks exist for testing scheduled jobs, all scheduled jobs tests moved to using said frameworks. All tests pass.
@EddieTheCubeHead commented on GitHub (Feb 4, 2024):
Already converted to using APScheduler on #43