Fix accidentially deleted gevent ds
This commit is contained in:
parent
bf44774f22
commit
7d5302b47f
|
@ -3383,7 +3383,7 @@ def upload():
|
||||||
else:
|
else:
|
||||||
return redirect(url_for("index"))
|
return redirect(url_for("index"))
|
||||||
|
|
||||||
'''def start_gevent():
|
def start_gevent():
|
||||||
from gevent.wsgi import WSGIServer
|
from gevent.wsgi import WSGIServer
|
||||||
global gevent_server
|
global gevent_server
|
||||||
try:
|
try:
|
||||||
|
@ -3398,4 +3398,4 @@ def upload():
|
||||||
gevent_server = WSGIServer(('0.0.0.0', ub.config.config_port), app, **ssl_args)
|
gevent_server = WSGIServer(('0.0.0.0', ub.config.config_port), app, **ssl_args)
|
||||||
gevent_server.serve_forever()
|
gevent_server.serve_forever()
|
||||||
except:
|
except:
|
||||||
pass'''
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user