Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Add HEAD and OPTIONS on healthz #1378

Merged
merged 1 commit into from
May 26, 2022

Conversation

niksajakovljevic
Copy link
Contributor

Load balancers prefer to make HEAD or OPTIONS requests for health checks
as they are cheaper.

Related #710
Also some community users encountered this problem https://timescaledb.slack.com/archives/C011FC0PPC5/p1653384295441989?thread_ts=1652775715.500199&cid=C011FC0PPC5

Load balancers prefer to make HEAD or OPTIONS requests for health checks
as they are cheaper.
@niksajakovljevic niksajakovljevic added the Bug Something isn't working label May 25, 2022
@niksajakovljevic niksajakovljevic self-assigned this May 25, 2022
@niksajakovljevic niksajakovljevic requested a review from sumerman May 26, 2022 08:39
@niksajakovljevic
Copy link
Contributor Author

We can close related PR #1371

@niksajakovljevic niksajakovljevic merged commit 5fab1df into master May 26, 2022
@niksajakovljevic niksajakovljevic deleted the niksa/support-options-and-head-on-healthz branch May 26, 2022 08:46
@paulfantom
Copy link
Contributor

Wasn't the agreement to add OPTIONS to all endpoints?

@niksajakovljevic
Copy link
Contributor Author

@paulfantom By looking into user issues I wasn't fully convinced if that was really needed. There are some other reasons as well, however let's discuss this more offline.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants