mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Merge pull request #2684 from alphagov/healthcheck
Up API health check timeout to 2.5 seconds
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
'production': ['api.notifications.service.gov.uk'],
|
'production': ['api.notifications.service.gov.uk'],
|
||||||
},
|
},
|
||||||
'health-check-type': 'port',
|
'health-check-type': 'port',
|
||||||
|
'health-check-invocation-timeout': 2.5,
|
||||||
'instances': {
|
'instances': {
|
||||||
'preview': None,
|
'preview': None,
|
||||||
'staging': None,
|
'staging': None,
|
||||||
@@ -58,6 +59,7 @@ applications:
|
|||||||
{%- endfor%}
|
{%- endfor%}
|
||||||
- route: {{ CF_APP }}-{{ environment }}.cloudapps.digital
|
- route: {{ CF_APP }}-{{ environment }}.cloudapps.digital
|
||||||
health-check-type: {{ app.get('health-check-type', 'process') }}
|
health-check-type: {{ app.get('health-check-type', 'process') }}
|
||||||
|
health-check-invocation-timeout: {{ app.get('health-check-invocation-timeout', 1) }}
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- notify-db
|
- notify-db
|
||||||
|
|||||||
Reference in New Issue
Block a user