Merge pull request #2032 from alphagov/increase-redis-ttl

Make Redis hold onto cached API responses longer
This commit is contained in:
Chris Hill-Scott
2018-04-25 11:42:19 +01:00
committed by GitHub
3 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ from datetime import timedelta
from functools import wraps
from inspect import signature
TTL = int(timedelta(hours=24).total_seconds())
TTL = int(timedelta(days=7).total_seconds())
def _get_argument(argument_name, client_method, args, kwargs):