Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development

This commit is contained in:
Stephan Porada 2019-12-03 15:11:40 +01:00
commit 31ac9ddcf3

View File

@ -79,7 +79,7 @@ def corpus_analysis_session_handler(app, corpus_id, session_id):
while corpus.status != 'analysing': while corpus.status != 'analysing':
db.session.refresh(corpus) db.session.refresh(corpus)
socketio.sleep(3) socketio.sleep(3)
client = CQiWrapper(host='analyse_corpus_{}'.format(corpus_id)) client = CQiWrapper(host='corpus_{}_analysis'.format(corpus_id))
client.connect() client.connect()
corpus_analysis_clients[session_id] = client corpus_analysis_clients[session_id] = client
if corpus_id not in corpus_analysis_sessions: if corpus_id not in corpus_analysis_sessions: