bazarr/libs/geventwebsocket/gunicorn/workers.py

7 lines
196 B
Python
Raw Normal View History

2018-12-14 20:25:18 +08:00
from geventwebsocket.handler import WebSocketHandler
from gunicorn.workers.ggevent import GeventPyWSGIWorker
class GeventWebSocketWorker(GeventPyWSGIWorker):
wsgi_handler = WebSocketHandler