mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Change container name for analysis
This commit is contained in:
parent
88b0907fc5
commit
e3db29e476
@ -38,8 +38,7 @@ def init_corpus_analysis(corpus_id):
|
|||||||
db.session.refresh(corpus)
|
db.session.refresh(corpus)
|
||||||
socketio.sleep(3)
|
socketio.sleep(3)
|
||||||
analysis_clients[request.sid] = CQiWrapper(
|
analysis_clients[request.sid] = CQiWrapper(
|
||||||
host='{}_analysis_container{}'.format(corpus.creator.username,
|
host='analyse_corpus_{}'.format(corpus.id))
|
||||||
corpus.id))
|
|
||||||
analysis_clients[request.sid].connect()
|
analysis_clients[request.sid].connect()
|
||||||
socketio.emit('init_corpus_analysis', 'Ready', room=request.sid)
|
socketio.emit('init_corpus_analysis', 'Ready', room=request.sid)
|
||||||
socketio.start_background_task(observe_corpus_analysis_connection,
|
socketio.start_background_task(observe_corpus_analysis_connection,
|
||||||
|
Loading…
Reference in New Issue
Block a user