Commit d995075e authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[backend][helpers] If experiment has permission enable database sharing for block

parent b8acc32f
......@@ -403,6 +403,9 @@ def get_configuration_for_split(split):
# Retrieve the block configuration
configuration = simplejson.loads(str(split.job.block.command))
configuration["share_databases"] = True
# (If necessary) Add the infos needed to access the database files
if settings.DATASETS_UID is not None:
configuration["datasets_uid"] = settings.DATASETS_UID
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