Merge pull request #4094 from alphagov/redis-ttl-type-bug

Quick fix to redis DEFAULT_TTL type bug
This commit is contained in:
David McDonald
2021-12-09 14:36:52 +00:00
committed by GitHub

View File

@@ -103,7 +103,7 @@ class JobApiClient(NotifyAdminAPIClient):
redis_client.set(
'has_jobs-{}'.format(service_id),
b'true',
ex=cache.DEFAULT_TTL,
ex=int(cache.DEFAULT_TTL),
)
return job