Skip to content

Commit 79e70b2

Browse files
committed
Remove blosc init/destroy at the numcodecs level
1 parent f44e007 commit 79e70b2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

numcodecs/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@
4444
from numcodecs import blosc
4545
from numcodecs.blosc import Blosc
4646
register_codec(Blosc)
47-
# initialize blosc
48-
try:
49-
ncores = multiprocessing.cpu_count()
50-
except OSError: # pragma: no cover
51-
ncores = 1
52-
# blosc.init()
53-
_blosc.set_nthreads(min(8, ncores))
54-
atexit.register(_blosc.destroy)
5547
except ImportError: # pragma: no cover
5648
pass
5749

0 commit comments

Comments
 (0)