-
Notifications
You must be signed in to change notification settings - Fork 27
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
Bugfix/director v2 loop #2356
Bugfix/director v2 loop #2356
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2356 +/- ##
========================================
+ Coverage 74.8% 75.0% +0.1%
========================================
Files 513 513
Lines 20036 19998 -38
Branches 1967 1967
========================================
+ Hits 14992 15003 +11
+ Misses 4527 4484 -43
+ Partials 517 511 -6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pair reviewed.
I wonder if we should then remove these fields from the AppSettings
related to uvicorn since they are now
# SERVICE SERVER (see : https://www.uvicorn.org/settings/)
host: str = "0.0.0.0" # nosec
port: int = 8000
since now they are fix values in the docker/boot.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
If they are not used and it is not possible to overwrite them via env vars, I would remove them. |
@GitHK What do you mean? All attributes of pydantic setting classes can be set via environment variables |
Yes that's what my understanding of the |
8b8cc4c
to
80a11f0
Compare
What do these changes do?
director-v2 startup script creates 2 event loops when in production mode.
Also fixes other fastapi-based applications (catalog, api-server, dynamic-sidecar).
Related issue/s
How to test
Checklist