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:
Jan Kaluza 2018-08-15 09:20:40 +02:00 committed by Lubomír Sedlář
parent 92968fe52d
commit d2f392fac8
10 changed files with 119 additions and 4 deletions

View file

@ -62,6 +62,7 @@ setup(
"lxml",
"productmd",
"six",
'dogpile.cache',
],
tests_require = [
"mock",