Skip to content
Snippets Groups Projects
Commit 1b342d51 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Use gunicorn as the default webserver

parent 34c4f38b
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ def corpus_analysis_session_handler(app, corpus_id, user_id, session_id):
retry_counter -= 1
if retry_counter == 0:
response = {'code': 408, 'desc': None, 'msg': 'Request Timeout'} # noqa
socketio.emit('corpus_analysis_init', response, room=request.sid) # noqa
socketio.emit('corpus_analysis_init', response, room=session_id) # noqa
corpus.status = 'stop analysis'
db.session.commit()
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment