feat(redis): added ability to specify a redis key prefix for all cache regions of dogpile that use redis backend
This commit is contained in:
parent
465e9ede18
commit
7d196811c4
3 changed files with 28 additions and 1 deletions
|
|
@ -485,6 +485,10 @@ rc_cache.cache_general.expiration_time = 43200
|
|||
; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
|
||||
#rc_cache.cache_general.arguments.lock_auto_renewal = true
|
||||
|
||||
; prefix for redis keys used for this cache backend, the final key is constructed using {custom-prefix}{key}
|
||||
#rc_cache.cache_general.arguments.key_prefix = custom-prefix-
|
||||
|
||||
|
||||
; *************************************************
|
||||
; `cache_perms` cache for permission tree, auth TTL
|
||||
; for simplicity use rc.file_namespace backend,
|
||||
|
|
@ -512,6 +516,10 @@ rc_cache.cache_perms.expiration_time = 3600
|
|||
; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
|
||||
#rc_cache.cache_perms.arguments.lock_auto_renewal = true
|
||||
|
||||
; prefix for redis keys used for this cache backend, the final key is constructed using {custom-prefix}{key}
|
||||
#rc_cache.cache_perms.arguments.key_prefix = custom-prefix-
|
||||
|
||||
|
||||
; ***************************************************
|
||||
; `cache_repo` cache for file tree, Readme, RSS FEEDS
|
||||
; for simplicity use rc.file_namespace backend,
|
||||
|
|
@ -539,6 +547,10 @@ rc_cache.cache_repo.expiration_time = 2592000
|
|||
; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
|
||||
#rc_cache.cache_repo.arguments.lock_auto_renewal = true
|
||||
|
||||
; prefix for redis keys used for this cache backend, the final key is constructed using {custom-prefix}{key}
|
||||
#rc_cache.cache_repo.arguments.key_prefix = custom-prefix-
|
||||
|
||||
|
||||
; ##############
|
||||
; BEAKER SESSION
|
||||
; ##############
|
||||
|
|
|
|||
|
|
@ -453,6 +453,10 @@ rc_cache.cache_general.expiration_time = 43200
|
|||
; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
|
||||
#rc_cache.cache_general.arguments.lock_auto_renewal = true
|
||||
|
||||
; prefix for redis keys used for this cache backend, the final key is constructed using {custom-prefix}{key}
|
||||
#rc_cache.cache_general.arguments.key_prefix = custom-prefix-
|
||||
|
||||
|
||||
; *************************************************
|
||||
; `cache_perms` cache for permission tree, auth TTL
|
||||
; for simplicity use rc.file_namespace backend,
|
||||
|
|
@ -480,6 +484,10 @@ rc_cache.cache_perms.expiration_time = 3600
|
|||
; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
|
||||
#rc_cache.cache_perms.arguments.lock_auto_renewal = true
|
||||
|
||||
; prefix for redis keys used for this cache backend, the final key is constructed using {custom-prefix}{key}
|
||||
#rc_cache.cache_perms.arguments.key_prefix = custom-prefix-
|
||||
|
||||
|
||||
; ***************************************************
|
||||
; `cache_repo` cache for file tree, Readme, RSS FEEDS
|
||||
; for simplicity use rc.file_namespace backend,
|
||||
|
|
@ -507,6 +515,10 @@ rc_cache.cache_repo.expiration_time = 2592000
|
|||
; auto-renew lock to prevent stale locks, slower but safer. Use only if problems happen
|
||||
#rc_cache.cache_repo.arguments.lock_auto_renewal = true
|
||||
|
||||
; prefix for redis keys used for this cache backend, the final key is constructed using {custom-prefix}{key}
|
||||
#rc_cache.cache_repo.arguments.key_prefix = custom-prefix-
|
||||
|
||||
|
||||
; ##############
|
||||
; BEAKER SESSION
|
||||
; ##############
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue