Update cqi to v0.1.4

This commit is contained in:
Patrick Jentsch 2023-07-14 12:59:27 +02:00
parent d898cd8516
commit 8182cccecd
2 changed files with 2 additions and 3 deletions

View File

@ -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()

View File

@ -1,5 +1,5 @@
apifairy
cqi
cqi>=0.1.4
dnspython==2.2.1
docker
eventlet