Difference between revisions of "Worker exiting"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
CMD gunicorn api_handler:app \
 +
  --bind 0.0.0.0:${GUNICORN_PORT} \
 +
  --timeout ${GUNICORN_TIMEOUT} \
 +
  --workers ${GUNICORN_WORKERS} \
 +
  --log-level DEBUG \
 +
  --capture-output \
 +
  --reload
  
 +
 +
gnunicorn: master
 +
gnunicorn: worker
 +
 +
 +
[[Autorestarting worker after current request]].
 +
 +
== See also ==
 
* {{gunicorn}}
 
* {{gunicorn}}
 +
 +
[[Category:Gnunicorn]]

Latest revision as of 15:54, 26 December 2022


CMD gunicorn api_handler:app \
  --bind 0.0.0.0:${GUNICORN_PORT} \
  --timeout ${GUNICORN_TIMEOUT} \
  --workers ${GUNICORN_WORKERS} \
  --log-level DEBUG \
  --capture-output \
  --reload


gnunicorn: master
gnunicorn: worker


Autorestarting worker after current request.

See also[edit]

Advertising: