From 450cac538f8f4659ca3484f0f73cae2c24ef5c41 Mon Sep 17 00:00:00 2001 From: hitesh Date: Mon, 6 Jan 2025 16:49:26 -0800 Subject: [PATCH] Added deafult value for enabled as well --- .../solr/client/solrj/request/beans/RateLimiterPayload.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/solrj/src/java/org/apache/solr/client/solrj/request/beans/RateLimiterPayload.java b/solr/solrj/src/java/org/apache/solr/client/solrj/request/beans/RateLimiterPayload.java index a750c7bca37..82bfcab00db 100644 --- a/solr/solrj/src/java/org/apache/solr/client/solrj/request/beans/RateLimiterPayload.java +++ b/solr/solrj/src/java/org/apache/solr/client/solrj/request/beans/RateLimiterPayload.java @@ -23,7 +23,7 @@ /** POJO for Rate Limiter Metadata Configuration */ public class RateLimiterPayload implements ReflectMapWriter { - @JsonProperty public Boolean enabled; + @JsonProperty public Boolean enabled = false; @JsonProperty public Integer guaranteedSlots;