Skip to content

Commit

Permalink
Fix contract test.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Dec 16, 2024
1 parent 07144ce commit 8804b7a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ protected long getThreshold(String metricName) {
// https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/MemoryUsage.html#getMax()
case JMXMetricsConstants.TOMCAT_THREADS:
threshold = -3;
break;
case JMXMetricsConstants.JVM_HEAP_MAX:
case JMXMetricsConstants.JVM_NON_HEAP_MAX:
case JMXMetricsConstants.JVM_POOL_MAX:
Expand Down

0 comments on commit 8804b7a

Please sign in to comment.