Skip to content

Commit 28a28d9

Browse files
committed
Revert "patch: configure zarr concurrency and clarify docstring on Blosc threading"
This reverts commit 64cfa7d.
1 parent 4905708 commit 28a28d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mdio/optimize/patch.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from typing import TYPE_CHECKING
1212

1313
import numpy as np
14-
import zarr
1514
from numcodecs import blosc
1615
from zarr.codecs import numcodecs
1716

@@ -48,7 +47,6 @@ class MonkeyPatchZfpDaskPlugin(distributed.WorkerPlugin):
4847
"""
4948

5049
def setup(self, worker: distributed.Worker) -> None: # noqa: ARG002
51-
"""Monkey patch ZFP codec and disable Blosc threading and zarr concurrency."""
50+
"""Monkey patch ZFP codec and disable Blosc threading."""
5251
numcodecs._codecs.ZFPY = ZFPY
53-
zarr.config.set({"async.concurrency": 1})
5452
blosc.set_nthreads(1)

0 commit comments

Comments
 (0)