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

Request logging #414

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Request logging #414

merged 1 commit into from
Oct 18, 2023

Conversation

kevinschaper
Copy link
Member

Hooks request logging up to loguru via fastapi middleware
Also instantiates CurieService() on startup to get rid of the stall that happens to the first request a worker sees, reduce stdout output and share the one singleton across workers (I think)

…ervice singleton on app startup to minimize stalls on first worker requests
@netlify
Copy link

netlify bot commented Oct 18, 2023

Deploy Preview for monarch-app canceled.

Name Link
🔨 Latest commit d9fd2ce
🔍 Latest deploy log https://app.netlify.com/sites/monarch-app/deploys/65303cdd488134000804559c

@kevinschaper kevinschaper merged commit 8bba242 into main Oct 18, 2023
9 checks passed
@kevinschaper kevinschaper deleted the initial-request-logging branch October 18, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants