mapseed / api

Legacy api for the Mapseed platform
https://mapseed.org
GNU General Public License v3.0
7 stars 7 forks source link

chore(settings.py): set cache timeout to 1 second #147

Closed goldpbear closed 6 years ago

goldpbear commented 6 years ago

Addresses: https://github.com/jalMogo/mgmt/issues/112

Django's built-in caching has apparently caused instability in newly-created places and comments (confirmed by testing against the dev api with caching turned off), creating usability problems.

This PR set Django's cache timeout to 1 second (a value of 0 will cause several tests to fail). This is a stopgap measure until we get more time to investigate why these caching issues exist.