I would like to remove tasks from the queue if the associated request is terminated (server) #6420
Unanswered
redlion0929
asked this question in
Q&A
Replies: 1 comment
-
Good idea, please create an issue, ideally at each server loop, task cancellation should be checked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have an inquiry for yours.
Currently, I am hosting an embedding server using
server
.I've come across an issue during use and decided to reach out for help.
When a client sends a request and subsequently terminates it, tasks already in the queue continue to be processed without recognizing the termination.
If a client makes a massive number of requests and then disconnects, the server could become paralyzed.
Is there a way to modify this behavior within llama.cpp?
TLDR; I would like to remove tasks from the queue if the associated request is terminated.
Beta Was this translation helpful? Give feedback.
All reactions