Skip to content

Conversation

adk-swisstopo
Copy link
Member

We want to add a readiness probe and update the liveness probe to be more tolerant of slow responses. In order to verify this works as expected, we need to be able to inject arbitrary delays in checker responses.

This change adds a CHECKER_DELAY setting that allows delaying the /checker endpoint by a commensurate number of seconds. This also adds previously missing unit test against the checker endpoint.

We want to add a readiness probe and update the liveness probe to be more
tolerant of slow responses. In order to verify this works as expected, we need
to be able to inject arbitrary delays in checker responses.

This change adds a `CHECKER_DELAY` setting that allows delaying the `/checker`
endpoint by a commensurate number of seconds. This also adds previously missing
unit test against the checker endpoint.
@adk-swisstopo adk-swisstopo requested a review from msom August 26, 2025 12:22
@adk-swisstopo adk-swisstopo merged commit d445e3d into develop Aug 26, 2025
3 checks passed
@adk-swisstopo adk-swisstopo deleted the feat-PB-1788-checker-delay branch August 26, 2025 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants