mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
gevent/uwsgi config: explicitly monkey patch in pywb.apps.wayback as early monkey patch
not available until uwsgi 2.1 is released!
This commit is contained in:
parent
cd65ddafbc
commit
8e90ea6576
@ -1,3 +1,9 @@
|
||||
# Use gevent if available
|
||||
try:
|
||||
from gevent.monkey import patch_all; patch_all()
|
||||
except Exception as e:
|
||||
pass
|
||||
|
||||
from pywb.framework.wsgi_wrappers import init_app
|
||||
from pywb.webapp.pywb_init import create_wb_router
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user