diff --git a/rqd/rqd/rqconstants.py b/rqd/rqd/rqconstants.py index 13216dbac..96429cfb5 100644 --- a/rqd/rqd/rqconstants.py +++ b/rqd/rqd/rqconstants.py @@ -22,6 +22,7 @@ # pylint: disable=wrong-import-position from future import standard_library +from six import _K standard_library.install_aliases() # pylint: enable=wrong-import-position @@ -164,7 +165,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 +249,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"