Add cache information for the badges backend.

This commit is contained in:
Ralph Bean 2014-03-04 18:31:59 +00:00
parent c0e4d0705a
commit 534e7e93f8
2 changed files with 13 additions and 0 deletions

View file

@ -8,6 +8,7 @@
- python-psycopg2
- python-sqlalchemy0.8
- git
- python-dogpile-cache
tags:
- packages

View file

@ -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",
},
},
}