ONSdigital / dp-find-insights-poc-api

Find Insights Proof of Concept
MIT License
1 stars 0 forks source link

make cache size and ttl configurable through environment #184

Closed wavemechanics closed 2 years ago

wavemechanics commented 2 years ago

What

Added CACHE_SIZE and CACHE_TTL environment variables. Defaults 200 (MB) and 12 hours.

This will allow us to work around the issue where large responses (like metadata) are too big for bigcache shards.