diff --git a/doc/changes/DM-45775.api.rst b/doc/changes/DM-45775.api.rst new file mode 100644 index 0000000000..d4a1470664 --- /dev/null +++ b/doc/changes/DM-45775.api.rst @@ -0,0 +1 @@ +Added ``DatastoreCacheManager.create_disabled()`` to create a cache manager which is disabled by default but can be enabled via the environment. diff --git a/doc/changes/DM-45775.feature.rst b/doc/changes/DM-45775.feature.rst new file mode 100644 index 0000000000..f846fdada7 --- /dev/null +++ b/doc/changes/DM-45775.feature.rst @@ -0,0 +1,2 @@ +Added an expiration mode of "disabled" to the datastore cache manager. +This allows an environment variable to be used to disable caching completely, or allows for a default configuration to be disabled and for environment variables to enable caching. diff --git a/doc/changes/DM-45775.misc.rst b/doc/changes/DM-45775.misc.rst new file mode 100644 index 0000000000..21a8e8580e --- /dev/null +++ b/doc/changes/DM-45775.misc.rst @@ -0,0 +1,2 @@ +Enabled remote butler to utilize a datastore cache. +By default clients created using a factory method will use a disabled cache that can be enabled by an environment variable and clients created from ``Butler()`` will use a default cache configuration.