Badges: add the cache config for fedbadges
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
b6f7f24d6c
commit
ccf5dad24a
1 changed files with 10 additions and 1 deletions
|
@ -64,6 +64,15 @@ distgit_hostname = "src{{ env_suffix }}.fedoraproject.org"
|
||||||
id_provider_hostname = "id{{ env_suffix }}.fedoraproject.org"
|
id_provider_hostname = "id{{ env_suffix }}.fedoraproject.org"
|
||||||
fasjson_base_url = "https://fasjson{{ env_suffix }}.fedoraproject.org"
|
fasjson_base_url = "https://fasjson{{ env_suffix }}.fedoraproject.org"
|
||||||
|
|
||||||
|
# Cache configuation
|
||||||
|
[consumer_config.cache]
|
||||||
|
backend = "dogpile.cache.pymemcache"
|
||||||
|
expiration_time = 600
|
||||||
|
[consumer_config.cache.arguments]
|
||||||
|
url = "memcached01:11211"
|
||||||
|
distributed_lock = true
|
||||||
|
lock_timeout = 5
|
||||||
|
|
||||||
# This is a set of data that tells our consumer what Open Badges Issuer
|
# This is a set of data that tells our consumer what Open Badges Issuer
|
||||||
# should be kept as the issuer of all the badges we create.
|
# should be kept as the issuer of all the badges we create.
|
||||||
[consumer_config.badge_issuer]
|
[consumer_config.badge_issuer]
|
||||||
|
@ -205,5 +214,5 @@ propagate = false
|
||||||
handlers = ["console"]
|
handlers = ["console"]
|
||||||
|
|
||||||
[log_config.root]
|
[log_config.root]
|
||||||
level = "ERROR"
|
level = "WARNING"
|
||||||
handlers = ["console"]
|
handlers = ["console"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue