From 8a0efd3f0e79c5c15e027f8abc7aae373516bcca Mon Sep 17 00:00:00 2001 From: zietzm Date: Fri, 23 Aug 2024 12:43:14 -0700 Subject: [PATCH] fix: use two threads in testing to avoid deadlock Unclear where this deadlock might be occurring --- src/webgwas_backend/test_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgwas_backend/test_main.py b/src/webgwas_backend/test_main.py index 8496801..e865e57 100644 --- a/src/webgwas_backend/test_main.py +++ b/src/webgwas_backend/test_main.py @@ -134,7 +134,7 @@ def client(): dry_run=True, s3_bucket="TEST", sqlite_db=":memory:", - n_workers=1, + n_workers=2, indirect_gwas=IndirectGWASSettings(batch_size=10000), ) worker = Worker(settings)