This commit is contained in:
Patrick Jentsch 2020-04-17 16:00:40 +02:00
parent b9ebb64fcc
commit 5fa1ba385b

View File

@ -125,7 +125,7 @@ def corpus_analysis_session_handler(app, corpus_id, user_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 = cqi.CQiClient('corpus_{}_analysis'.format(corpus_id)) client = cqi.CQiClient('cqpserver_{}'.format(corpus_id))
try: try:
payload = client.connect() payload = client.connect()
except cqi.errors.CQiException as e: except cqi.errors.CQiException as e: