Skip to content

server: health endpoint configurable failure on no slot #5594

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

phymbert
Copy link
Collaborator

Motivation

Since PR #5548, /health answers 503 if all slots are processing requests. This behavior may not always be expected for liveness checks.
One can expect a liveness or a readyness probe behavior as identified by @brittlewis12.

Changes

A new query parameter fail_on_no_slot allows to configure the expected behavior regarding the http status code.

@ggerganov ggerganov merged commit c0a8c6d into ggml-org:master Feb 20, 2024
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
@phymbert phymbert deleted the feature/server-health-endpoint-failure-configurable branch March 16, 2024 17:45
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants