mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Use gunicorn as the default webserver
This commit is contained in:
parent
34c4f38b52
commit
1b342d5159
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user