generated from ApeWorX/project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor!: change AppState to StateSnapshot to better express it * feat!: add `app.state` Adds 2 new system tasks to load and store a snapshot of state. Currently this is just `last_block_processed` and `last_block_seen`. This paves the way for the `Parameter` feature, but does not include that just yet. BREAKING CHANGE: state snapshotting migrates from runner to worker * refactor: update from peer review * docs: add more color in docs for `app.state` Also updated docstrings within `silverback/application.py` * fix: don't raise error on exit, only note the error * refactor: have runner load and save the snapshot in datastore * docs: add a note to example about using worker startup event * docs: show off `app.state` and `CircuitBreaker` with more common example * docs: add another commit about triggering a txn to userguide * refactor(middlware): don't display INFO logs for system task start * feat!: change SilverbackApp to SilverbackBot and all changes surrounding it * fix: dockerfile * fix: bad isort * fix: docs surrounding app vs bot * fix: minor rewording in development docs * fix: add taskiq-redis * fix: typo --------- Co-authored-by: johnson2427 <[email protected]>
- Loading branch information
1 parent
e4925e3
commit 7bd78a3
Showing
14 changed files
with
383 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.