-
Notifications
You must be signed in to change notification settings - Fork 965
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
Dev sanity #16256
Dev sanity #16256
Conversation
the current setup leads to lots of lockups and hangs. this _seems_ to have helped for me locally.
this is the root cause of the 'password invalidated by password change' issue on first login in dev. passlib was upgrading users password hashes to argon and thus the moving the password_date
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.
All looking nice - one question
@@ -110,7 +111,7 @@ services: | |||
|
|||
web: | |||
image: warehouse:docker-compose | |||
command: gunicorn --reload --reload-extra-file=warehouse/api/openapi.yaml -b 0.0.0.0:8000 --access-logfile - --error-logfile - warehouse.wsgi:application | |||
command: gunicorn --reload --reload-extra-file=warehouse/api/openapi.yaml -w 4 -b 0.0.0.0:8000 --access-logfile - --error-logfile - warehouse.wsgi:application |
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.
This change disabled the debug toolbar, as shown:
/opt/warehouse/lib/python3.12/site-packages/pyramid_debugtoolbar/toolbar.py:244: UserWarning: pyramid_debugtoolbar has detected that the application is being served by a forking / multiprocess web server. The toolbar relies on global state to work and is not compatible with this environment. The toolbar will be disabled.
What was the behavior you observed that led to adding this?
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.
oops!
I experienced lockups pretty regularly when I had two browsers open with different profiles attempting to interact with the web server.
A few things to improve local dev.
IU7UP3EMIPI7EBPQUUSEHEJUFNBIWOYG
for select users