diff --git a/rqd/rqd/rqconstants.py b/rqd/rqd/rqconstants.py index 13216dbac..292651d74 100644 --- a/rqd/rqd/rqconstants.py +++ b/rqd/rqd/rqconstants.py @@ -164,7 +164,7 @@ # Backup running frames cache. Backup cache is turned off if this path is set to # None or "" -BACKUP_CACHE_PATH = "/tmp/opencue/running_frames_backup.dat" +BACKUP_CACHE_PATH = "" BACKUP_CACHE_TIME_TO_LIVE_SECONDS = 60 try: @@ -248,6 +248,11 @@ if config.has_section(__host_env_var_section): RQD_HOST_ENV_VARS = config.options(__host_env_var_section) + if config.has_option(__override_section, "BACKUP_CACHE_PATH"): + BACKUP_CACHE_PATH = config.get(__override_section, "BACKUP_CACHE_PATH") + if config.has_option(__override_section, "BACKUP_CACHE_TIME_TO_LIVE_SECONDS"): + BACKUP_CACHE_TIME_TO_LIVE_SECONDS = config.get(__override_section, "BACKUP_CACHE_TIME_TO_LIVE_SECONDS") + __docker_mounts = "docker.mounts" __docker_config = "docker.config" __docker_images = "docker.images"