From ecd0944b11822bb197ec05cd3fddf3af0f64e974 Mon Sep 17 00:00:00 2001 From: JackyYangPassion Date: Thu, 11 Jul 2024 17:41:55 +0800 Subject: [PATCH] fix metrics OOM --- .../java/org/apache/hugegraph/api/filter/AccessLogFilter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AccessLogFilter.java b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AccessLogFilter.java index 28598b8037..d006fcb61f 100644 --- a/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AccessLogFilter.java +++ b/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/api/filter/AccessLogFilter.java @@ -56,8 +56,6 @@ public class AccessLogFilter implements ContainerResponseFilter { private static final String GREMLIN = "gremlin"; private static final String CYPHER = "cypher"; - private static final Pattern ID_PATTERN = Pattern.compile("\"\\d+:\\w+\""); - private static final Pattern QUOTED_STRING_PATTERN = Pattern.compile("\"\\w+\""); @Context private jakarta.inject.Provider configProvider;