Use dogpile.cache to cache the listTaggedRPMS calls if possible
If the same tag is queried with the same event, Pungi can cache the response and call the API again. Particularly for small composes this can save up significant amount of time. Merges: https://pagure.io/pungi/pull-request/1022 Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
This commit is contained in:
parent
92968fe52d
commit
d2f392fac8
10 changed files with 119 additions and 4 deletions
1
setup.py
1
setup.py
|
|
@ -62,6 +62,7 @@ setup(
|
|||
"lxml",
|
||||
"productmd",
|
||||
"six",
|
||||
'dogpile.cache',
|
||||
],
|
||||
tests_require = [
|
||||
"mock",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue