Commit 278946fd authored by Sebastien Petitdemange's avatar Sebastien Petitdemange Committed by Matias Guijarro
Browse files

scan saving: use the global client cached connection.

parent ab4c2a2f
......@@ -22,6 +22,7 @@ import datetime
from bliss import current_session
from bliss.config.settings import ParametersWardrobe
from bliss.config.settings_cache import get_redis_client_cache
from bliss.data.node import _get_or_create_node
from bliss.scanning.writer.null import Writer as NullWriter
from bliss.scanning import writer as writer_module
......@@ -393,6 +394,7 @@ class BasicScanSaving(EvalParametersWardrobe):
default_values=self.DEFAULT_VALUES,
property_attributes=self.PROPERTY_ATTRIBUTES,
not_removable=self.DEFAULT_VALUES.keys(),
connection=get_redis_client_cache(),
)
def __dir__(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment