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
|
|
@ -25,6 +25,7 @@ These packages will have to installed:
|
|||
* libmodulemd
|
||||
* libselinux-python
|
||||
* lorax
|
||||
* python-dogpile-cache
|
||||
* python-jsonschema
|
||||
* python-kickstart
|
||||
* python-libcomps
|
||||
|
|
@ -60,7 +61,7 @@ packages above as they are used by calling an executable. ::
|
|||
$ for pkg in _deltarpm krbV _selinux deltarpm sqlitecachec _sqlitecache; do ln -vs "$(deactivate && python -c 'import os, '$pkg'; print('$pkg'.__file__)')" "$(virtualenvwrapper_get_site_packages_dir)"; done
|
||||
$ pip install -U pip
|
||||
$ PYCURL_SSL_LIBRARY=nss pip install pycurl --no-binary :all:
|
||||
$ pip install beanbag jsonschema 'kobo>=0.6.0' lockfile lxml mock nose nose-cov productmd pyopenssl python-multilib requests requests-kerberos setuptools sphinx ordered_set koji PyYAML
|
||||
$ pip install beanbag jsonschema 'kobo>=0.6.0' lockfile lxml mock nose nose-cov productmd pyopenssl python-multilib requests requests-kerberos setuptools sphinx ordered_set koji PyYAML dogpile.cache
|
||||
|
||||
Now you should be able to run all existing tests.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue