You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similarly to config file location environment variable, DWAVE_CONFIG_FILE, add an option to control cache directory location (for region and solver metadata cache, etc) from the environment.
For example, DWAVE_CACHE_HOME.
An option to disable disk caching could be implemented either via a separate variable, or as a special-meaning value, such as DWAVE_CACHE_HOME=disabled.
While implementing this, have in mind we'll eventually want to have a shared Ocean cache control/interface, see dwavesystems/minorminer#242.
Another control dimension would be cache type: memory (dwave.cloud.utils.cached), disk (dwave.cloud.utils.cached.ondisk or diskcache), memcached?, redis?, etc.
The text was updated successfully, but these errors were encountered:
Similarly to config file location environment variable,
DWAVE_CONFIG_FILE
, add an option to control cache directory location (for region and solver metadata cache, etc) from the environment.For example,
DWAVE_CACHE_HOME
.An option to disable disk caching could be implemented either via a separate variable, or as a special-meaning value, such as
DWAVE_CACHE_HOME=disabled
.While implementing this, have in mind we'll eventually want to have a shared Ocean cache control/interface, see dwavesystems/minorminer#242.
Another control dimension would be cache type: memory (
dwave.cloud.utils.cached
), disk (dwave.cloud.utils.cached.ondisk
ordiskcache
), memcached?, redis?, etc.The text was updated successfully, but these errors were encountered: