Skip to content

Commit d6ac57f

Browse files
committed
Increase Config cache TTL
1 parent d6e0614 commit d6ac57f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

diracx-core/src/diracx/core/config/sources.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626

2727
DEFAULT_CONFIG_FILE = "default.yml"
2828
DEFAULT_GIT_BRANCH = "master"
29-
DEFAULT_CS_CACHE_TTL = 5
29+
30+
DEFAULT_CS_CACHE_TTL = 5 * 60
3031
MAX_CS_CACHED_VERSIONS = 1
31-
DEFAULT_PULL_CACHE_TTL = 5
32+
DEFAULT_PULL_CACHE_TTL = 5 * 60
3233
MAX_PULL_CACHED_VERSIONS = 1
3334

3435
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)