From ccfd449260b22788cd51c78fc02eec37fe884e44 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 3 Dec 2019 11:46:56 +0100 Subject: [PATCH] Rename analysis container --- app/corpora/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/corpora/events.py b/app/corpora/events.py index 53323506..cc2df7cb 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: