From f43ca5d5544216395278b13fcf657d93bdcaf02c Mon Sep 17 00:00:00 2001 From: jluehe Date: Mon, 13 Feb 2023 15:36:33 -0800 Subject: [PATCH] LowResourceMonitor.getReasons should include detailed reason instead of hard-coded message (#9337) (#9338) --- .../main/java/org/eclipse/jetty/server/LowResourceMonitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/LowResourceMonitor.java b/jetty-server/src/main/java/org/eclipse/jetty/server/LowResourceMonitor.java index 07c7ab427d7..7529404b174 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/LowResourceMonitor.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/LowResourceMonitor.java @@ -280,7 +280,7 @@ public class LowResourceMonitor extends ContainerLifeCycle { if (lowResourceCheck.isLowOnResources()) { - reasons = lowResourceCheck.toString(); + reasons = lowResourceCheck.getReason(); break; } }