diff --git a/app/notify_client/job_api_client.py b/app/notify_client/job_api_client.py index c9f84401c..115ece59e 100644 --- a/app/notify_client/job_api_client.py +++ b/app/notify_client/job_api_client.py @@ -103,7 +103,7 @@ class JobApiClient(NotifyAdminAPIClient): redis_client.set( 'has_jobs-{}'.format(service_id), b'true', - ex=cache.TTL, + ex=cache.DEFAULT_TTL, ) return job diff --git a/requirements.in b/requirements.in index 138d8d730..7343ca794 100644 --- a/requirements.in +++ b/requirements.in @@ -30,8 +30,7 @@ pyproj==3.2.1 # PaaS awscli-cwlogs>=1.4,<1.5 itsdangerous==1.1.0 # pyup: <2 - -notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@49.0.0 +notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@49.1.0 govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha # cryptography 3.4+ incorporates Rust code, which isn't supported on PaaS diff --git a/requirements.txt b/requirements.txt index 23c0b431d..feba75754 100644 --- a/requirements.txt +++ b/requirements.txt @@ -123,7 +123,7 @@ mistune==0.8.4 # via notifications-utils notifications-python-client==6.3.0 # via -r requirements.in -notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@49.0.0 +notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@49.1.0 # via -r requirements.in openpyxl==3.0.7 # via pyexcel-xlsx