Skip to content

Commit 2db6304

Browse files
Fix timeout on progress thread (deadlocking)
1 parent 397c8a7 commit 2db6304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bio2zarr/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def __exit__(self, exc_type, exc_val, exc_tb):
220220
# Note: this doesn't seem to be working correctly. If
221221
# we set a timeout of None we get deadlocks
222222
set_progress(self.progress_config.total)
223-
timeout = None
223+
timeout = 0.1
224224
else:
225225
cancel_futures(self.futures)
226226
timeout = 0

0 commit comments

Comments
 (0)