diff --git a/app/corpora/events.py b/app/corpora/events.py index ff7a6f89..af04b469 100644 --- a/app/corpora/events.py +++ b/app/corpora/events.py @@ -38,8 +38,7 @@ def init_corpus_analysis(corpus_id): db.session.refresh(corpus) socketio.sleep(3) analysis_clients[request.sid] = CQiWrapper( - host='{}_analysis_container{}'.format(corpus.creator.username, - corpus.id)) + host='analyse_corpus_{}'.format(corpus.id)) analysis_clients[request.sid].connect() socketio.emit('init_corpus_analysis', 'Ready', room=request.sid) socketio.start_background_task(observe_corpus_analysis_connection,