-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Internal: Aleph API client as FastAPI dependency in executor
Problem: we spawn 2 Aleph API clients in each API call, while one is enough. Solution: spawn the Aleph API client as a dependency to let FastAPI manage its lifecycle.
- Loading branch information
1 parent
a99b7db
commit fe763be
Showing
1 changed file
with
89 additions
and
78 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