get back to gevent which is better at monkey patching

This commit is contained in:
ziirish 2018-01-09 14:24:12 +01:00
parent b7554c6db8
commit 96b34cc87c
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
7 changed files with 18 additions and 8 deletions

View file

@ -73,8 +73,11 @@ backlog = 2048
# A positive integer. Generally set in the 1-5 seconds range.
#
# IF YOU DECIDE TO USE EMBEDDED WEBSOCKET, YOU NEED TO SET 'worker_class' TO
# 'geventwebsocket.gunicorn.workers.GeventWebSocketWorker'
workers = 5
worker_class = 'eventlet'
worker_class = 'gevent'
worker_connections = 1000
timeout = 300
keepalive = 2