We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9722bc4 commit 375d78fCopy full SHA for 375d78f
async_substrate_interface/utils/cache.py
@@ -6,7 +6,9 @@
6
7
USE_CACHE = True if os.getenv("NO_CACHE") != "1" else False
8
CACHE_LOCATION = (
9
- os.path.expanduser("~/.cache/async-substrate_interface")
+ os.path.expanduser(
10
+ os.getenv("CACHE_LOCATION", "~/.cache/async-substrate_interface")
11
+ )
12
if USE_CACHE
13
else ":memory:"
14
)
0 commit comments