Skip to content

Commit 389ff61

Browse files
authored
server : print warning when HTTP timeout exceeded (ggml-org#22907)
1 parent 2e97c5f commit 389ff61

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/server/server-queue.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,8 @@ server_task_result_ptr server_response_reader::next(const std::function<bool()>
381381
if (result == nullptr) {
382382
// timeout, check stop condition
383383
if (should_stop()) {
384-
SRV_DBG("%s", "stopping wait for next result due to should_stop condition\n");
384+
SRV_WRN("%s", "stopping wait for next result due to should_stop condition (adjust the --timeout argument if needed)\n");
385+
SRV_WRN("%s", "ref: https://github.com/ggml-org/llama.cpp/pull/22907\n");
385386
return nullptr;
386387
}
387388
} else {

0 commit comments

Comments
 (0)