Koschei: Configure and enable Pagure plugin in production
This commit is contained in:
parent
7d472ed5c8
commit
2571ee4e18
1 changed files with 2 additions and 13 deletions
|
@ -41,31 +41,20 @@ config = {
|
|||
{% if env == 'staging' %}
|
||||
"plugins": [],
|
||||
{% else %}
|
||||
"plugins": [],
|
||||
# "plugins": ['hotfix_pagure_extras'],
|
||||
"plugins": ['pagure'],
|
||||
{% endif %}
|
||||
"caching": {
|
||||
"pagure": {
|
||||
"users": {
|
||||
"backend": "dogpile.cache.memcached",
|
||||
"expiration_time": 21600, # 6 hours
|
||||
"expiration_time": 3600, # 1 hour
|
||||
"arguments": {
|
||||
"url": "memcached01:11211",
|
||||
},
|
||||
},
|
||||
},
|
||||
"hotfix_pagure_extras": {
|
||||
"backend": "dogpile.cache.memcached",
|
||||
"expiration_time": 3600, # 1 hour
|
||||
"arguments": {
|
||||
"url": "memcached01:11211",
|
||||
},
|
||||
},
|
||||
},
|
||||
"pagure": {
|
||||
"api_url": "https://src{{ env_suffix }}.fedoraproject.org/api/0",
|
||||
},
|
||||
"hotfix_pagure_extras": {
|
||||
"owner_alias_url": "https://src{{ env_suffix }}.fedoraproject.org/extras/pagure_owner_alias.json",
|
||||
},
|
||||
"frontend": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue