Skip to content

Commit

Permalink
use config.update_defaults in dask.array
Browse files Browse the repository at this point in the history
This records the defaults so that they survive refresh events
  • Loading branch information
mrocklin committed May 24, 2018
1 parent 6134015 commit 6985513
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dask/array/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@
from .numpy_compat import _Recurser


defaults = {'array': {
config.update_defaults({'array': {
'chunk-size': '128MiB',
'rechunk-threshold': 4
}}

config.update(config.config, defaults, priority='old')
}})


concatenate_lookup = Dispatch('concatenate')
Expand Down

0 comments on commit 6985513

Please sign in to comment.