Skip to content

Commit

Permalink
Don't use LRUCacheStore(store)
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Aug 5, 2021
1 parent e2029a2 commit 3617cb8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ContainsArrayError, HTTPStore, openArray, openGroup, ZarrArray } from '
import type { Group as ZarrGroup } from 'zarr';
import type { AsyncStore, Store } from 'zarr/types/storage/types';
import { Matrix4 } from '@math.gl/core/dist/esm';
import { LRUCacheStore } from './lru-store';
// import { LRUCacheStore } from './lru-store';

export const MAX_CHANNELS = 6;

Expand Down Expand Up @@ -36,7 +36,9 @@ async function normalizeStore(source: string | Store) {
}

// Wrap remote stores in a cache
return new LRUCacheStore(store);
// see https://github.com/hms-dbmi/vizarr/pull/100#issuecomment-893493514
// return new LRUCacheStore(store);
return store
}

return source;
Expand Down

0 comments on commit 3617cb8

Please sign in to comment.