diff --git a/roles/openshift-apps/badges/templates/fm-fedbadges.toml b/roles/openshift-apps/badges/templates/fm-fedbadges.toml index d759db4014..20194a3e48 100644 --- a/roles/openshift-apps/badges/templates/fm-fedbadges.toml +++ b/roles/openshift-apps/badges/templates/fm-fedbadges.toml @@ -64,6 +64,15 @@ distgit_hostname = "src{{ env_suffix }}.fedoraproject.org" id_provider_hostname = "id{{ 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 # should be kept as the issuer of all the badges we create. [consumer_config.badge_issuer] @@ -205,5 +214,5 @@ propagate = false handlers = ["console"] [log_config.root] -level = "ERROR" +level = "WARNING" handlers = ["console"]