Technoboy- commented on code in PR #22295:
URL: https://github.com/apache/pulsar/pull/22295#discussion_r1529646971


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -2195,13 +2195,13 @@ The max allowed delay for delayed delivery (in 
milliseconds). If the broker rece
             category = CATEGORY_STORAGE_ML,
             doc = "Minimum backlog entries for any cursor before start caching 
reads"
     )
-    private int managedLedgerMinimumBacklogEntriesForCaching = 1000;
+    private int managedLedgerMinimumBacklogEntriesForCaching = 100;

Review Comment:
   Why do you change here ? 



##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -2195,13 +2195,13 @@ The max allowed delay for delayed delivery (in 
milliseconds). If the broker rece
             category = CATEGORY_STORAGE_ML,
             doc = "Minimum backlog entries for any cursor before start caching 
reads"
     )
-    private int managedLedgerMinimumBacklogEntriesForCaching = 1000;
+    private int managedLedgerMinimumBacklogEntriesForCaching = 100;
     @FieldContext(
             dynamic = true,
             category = CATEGORY_STORAGE_ML,
             doc = "Maximum backlog entry difference to prevent caching entries 
that can't be reused"
     )
-    private int managedLedgerMaxBacklogBetweenCursorsForCaching = 1000;
+    private int managedLedgerMaxBacklogBetweenCursorsForCaching = 10000;

Review Comment:
   And here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to