diff --git a/app/corpora/events.py b/app/corpora/events.py index e7164f23..d61fa1a4 100644 --- a/app/corpora/events.py +++ b/app/corpora/events.py @@ -79,7 +79,7 @@ def corpus_analysis_session_handler(app, corpus_id, session_id): while corpus.status != 'analysing': db.session.refresh(corpus) socketio.sleep(3) - client = CQiWrapper(host='analyse_corpus_{}'.format(corpus_id)) + client = CQiWrapper(host='corpus_{}_analysis'.format(corpus_id)) client.connect() corpus_analysis_clients[session_id] = client if corpus_id not in corpus_analysis_sessions: