mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 11:24:10 -04:00
Merge pull request #4094 from alphagov/redis-ttl-type-bug
Quick fix to redis DEFAULT_TTL type bug
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user