From ccf7f449ddbc6a8721133038224f0555b05fba7b Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Mon, 24 Jul 2023 15:12:05 +0200 Subject: [PATCH] Bump cqi version --- app/corpora/cqi_over_sio/__init__.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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