HomeSoftware Heritage

misc/coverage: Use django cache instead of LRU ones

Description

misc/coverage: Use django cache instead of LRU ones

It enables to update origin counters more frequently in the coverage
widget of the production webapp.

Also disable cache use when running swh-web in development or staging
environment to get accurate counters on each homepage refresh.

Details

Provenance
anlambertAuthored on Feb 22 2022, 5:10 PM
anlambertPushed on Feb 23 2022, 1:07 PM
Differential Revision
D7224: misc/coverage: Use django cache instead of LRU ones
Parents
rDWAPPScc5736263984: common/utils: Add utility functions to check swh-web run environment
Branches
Unknown
Tags
Unknown
References
tag: v0.0.372
Build Status
Buildable 27075
Build 42340: test-and-buildJenkins console · Jenkins