mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Update cqi to v0.1.4
This commit is contained in:
parent
d898cd8516
commit
8182cccecd
@ -7,7 +7,6 @@ from flask_socketio import Namespace
|
||||
from inspect import signature
|
||||
from threading import Lock
|
||||
from typing import Callable, Dict, List
|
||||
import math
|
||||
from app import db, hashids, socketio
|
||||
from app.decorators import socketio_login_required
|
||||
from app.models import Corpus, CorpusStatus
|
||||
@ -122,7 +121,7 @@ class CQiNamespace(Namespace):
|
||||
socketio.sleep(3)
|
||||
retry_counter -= 1
|
||||
db.session.refresh(db_corpus)
|
||||
cqi_client = CQiClient(f'cqpserver_{db_corpus_id}', timeout=math.inf)
|
||||
cqi_client = CQiClient(f'cqpserver_{db_corpus_id}', timeout=None)
|
||||
session['cqi_over_sio'] = {}
|
||||
session['cqi_over_sio']['cqi_client'] = cqi_client
|
||||
session['cqi_over_sio']['cqi_client_lock'] = Lock()
|
||||
|
@ -1,5 +1,5 @@
|
||||
apifairy
|
||||
cqi
|
||||
cqi>=0.1.4
|
||||
dnspython==2.2.1
|
||||
docker
|
||||
eventlet
|
||||
|
Loading…
Reference in New Issue
Block a user