]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server : print warning when HTTP timeout exceeded (#22907)
authorGeorgi Gerganov <redacted>
Sun, 10 May 2026 19:00:18 +0000 (22:00 +0300)
committerGitHub <redacted>
Sun, 10 May 2026 19:00:18 +0000 (22:00 +0300)
tools/server/server-queue.cpp

index a2a026a12ce9a941b817cc3adab993f925fd554b..d5fceb1b13141961f01199fb75ea68f7a2a0fb43 100644 (file)
@@ -381,7 +381,8 @@ server_task_result_ptr server_response_reader::next(const std::function<bool()>
         if (result == nullptr) {
             // timeout, check stop condition
             if (should_stop()) {
-                SRV_DBG("%s", "stopping wait for next result due to should_stop condition\n");
+                SRV_WRN("%s", "stopping wait for next result due to should_stop condition (adjust the --timeout argument if needed)\n");
+                SRV_WRN("%s", "ref: https://github.com/ggml-org/llama.cpp/pull/22907\n");
                 return nullptr;
             }
         } else {