Add cache information for the badges backend.
This commit is contained in:
parent
c0e4d0705a
commit
534e7e93f8
2 changed files with 13 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
- python-psycopg2
|
||||
- python-sqlalchemy0.8
|
||||
- git
|
||||
- python-dogpile-cache
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
|
|
@ -29,4 +29,16 @@ config = {
|
|||
"username": "{{fedoraDummyUser}}",
|
||||
"password": "{{fedoraDummyUserPassword}}",
|
||||
},
|
||||
|
||||
# Stuff used for caching packagedb relations.
|
||||
"fmn.rules.utils.use_pkgdb2": False,
|
||||
"fmn.rules.utils.pkgdb_url": "https://admin.fedoraproject.org/pkgdb",
|
||||
#"fmn.rules.utils.pkgdb_url": "http://209.132.184.188/api/",
|
||||
"fmn.rules.cache": {
|
||||
"backend": "dogpile.cache.dbm",
|
||||
"expiration_time": 300,
|
||||
"arguments": {
|
||||
"filename": "/var/tmp/fmn-cache.dbm",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue