Skip to content

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