fedora-infra / bodhi

Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.
https://bodhi.fedoraproject.org
GNU General Public License v2.0
150 stars 189 forks source link

Do not reify releases list in pyramid request (backport #5684) #5697

Closed mergify[bot] closed 1 week ago

mergify[bot] commented 1 week ago

The Release.all_releases() method is already cached and set to be refreshed whenever a Release changes state. However, by having the releases request property reified makes that property never refreshed, thus is causing the releases list web page never updated with current changes until the server is restarted.


This is an automatic backport of pull request #5684 done by Mergify.