Skip to content
Permalink
Browse files
Rename property for regex cache size
That way -- as Vladimir pointed out -- it would be more consistent to
a potentially renamed property jmeter.regex.engine, which would
replace the boolean property jmeter.use_java_regex.
  • Loading branch information
FSchumacher committed Mar 5, 2022
1 parent 6b01e55 commit fe66021be8e009c0f685a1b2332c6191927428b2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -105,7 +105,7 @@ private LazyJavaPatternCacheHolder() {
public static final LoadingCache<Pair<String, Integer>, java.util.regex.Pattern> INSTANCE =
Caffeine
.newBuilder()
.maximumSize(getPropDefault("java_regex.patterncache.size", 1000))
.maximumSize(getPropDefault("jmeter.regex.patterncache.size", 1000))
.build(key -> {
//noinspection MagicConstant
return java.util.regex.Pattern.compile(key.getLeft(), key.getRight().intValue());

0 comments on commit fe66021

Please sign in to comment.