fmab777 commited on
Commit
afee9b9
·
verified ·
1 Parent(s): 83ec7f6

Update gunicorn.conf.py

Browse files
Files changed (1) hide show
  1. 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', '2'))
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