Skip to content

Commit

Permalink
fix: use two threads in testing to avoid deadlock
Browse files Browse the repository at this point in the history
Unclear where this deadlock might be occurring
  • Loading branch information
zietzm committed Aug 23, 2024
1 parent cc7505a commit 8a0efd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webgwas_backend/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8a0efd3

Please sign in to comment.