diff --git a/app/corpora/cqi_over_sio/__init__.py b/app/corpora/cqi_over_sio/__init__.py index b2cf02dc..6c093a9e 100644 --- a/app/corpora/cqi_over_sio/__init__.py +++ b/app/corpora/cqi_over_sio/__init__.py @@ -121,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=None) + cqi_client = CQiClient(f'cqpserver_{db_corpus_id}', timeout=float('inf')) session['cqi_over_sio'] = {} session['cqi_over_sio']['cqi_client'] = cqi_client session['cqi_over_sio']['cqi_client_lock'] = Lock() diff --git a/requirements.txt b/requirements.txt index a2a2625f..67a6a6ca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ apifairy -cqi>=0.1.4 +cqi>=0.1.5 dnspython==2.2.1 docker eventlet