mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 19:04:18 +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
|
retry_counter -= 1
|
||||||
if retry_counter == 0:
|
if retry_counter == 0:
|
||||||
response = {'code': 408, 'desc': None, 'msg': 'Request Timeout'} # noqa
|
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'
|
corpus.status = 'stop analysis'
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user