From 5fa1ba385b91b3f5924eb1c7b86c655de64d2b9a Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Fri, 17 Apr 2020 16:00:40 +0200 Subject: [PATCH] Update --- 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 1fc3fb5d..d3902f8a 100644 --- a/app/corpora/events.py +++ b/app/corpora/events.py @@ -125,7 +125,7 @@ def corpus_analysis_session_handler(app, corpus_id, user_id, session_id): while corpus.status != 'analysing': db.session.refresh(corpus) socketio.sleep(3) - client = cqi.CQiClient('corpus_{}_analysis'.format(corpus_id)) + client = cqi.CQiClient('cqpserver_{}'.format(corpus_id)) try: payload = client.connect() except cqi.errors.CQiException as e: