Page MenuHomeSoftware Heritage

settings/production: do not configure memcache if cache_uri is unset
ClosedPublic

Authored by douardda on Jul 3 2019, 10:50 AM.

Details

Summary

this is needed so we can spawn a production-like webapp (in docker)
without a memcache (makes documentation writing easier).

Diff Detail

Repository
rDWAPPS Web applications
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 6643
Build 9279: tox-on-jenkinsJenkins
Build 9278: arc lint + arc unit

Event Timeline

ardumont added inline comments.
swh/web/settings/production.py
26–32

Shouldn't this be less strict (using dict's get method instead)?

do not presume 'throttling.cache_uri' config exists

This revision is now accepted and ready to land.Jul 3 2019, 11:02 AM
This revision was automatically updated to reflect the committed changes.