Spaces:
Running
Running
Update gunicorn.conf.py
Browse files- gunicorn.conf.py +1 -1
gunicorn.conf.py
CHANGED
@@ -4,7 +4,7 @@ import os
|
|
4 |
worker_class = 'uvicorn.workers.UvicornWorker'
|
5 |
|
6 |
# Can set back to 2 or more if desired, now that init is in lifespan
|
7 |
-
workers = int(os.environ.get('GUNICORN_WORKERS', '
|
8 |
|
9 |
bind = f"0.0.0.0:{os.environ.get('PORT', '7860')}"
|
10 |
# timeout = 120 # Optional
|
|
|
4 |
worker_class = 'uvicorn.workers.UvicornWorker'
|
5 |
|
6 |
# Can set back to 2 or more if desired, now that init is in lifespan
|
7 |
+
workers = int(os.environ.get('GUNICORN_WORKERS', '1'))
|
8 |
|
9 |
bind = f"0.0.0.0:{os.environ.get('PORT', '7860')}"
|
10 |
# timeout = 120 # Optional
|