mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Merge pull request #2032 from alphagov/increase-redis-ttl
Make Redis hold onto cached API responses longer
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user