aloyszhang commented on code in PR #14488:
URL: https://github.com/apache/pulsar/pull/14488#discussion_r930736759


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -1807,8 +1807,14 @@ public class ServiceConfiguration implements 
PulsarConfiguration {
     )
     private double managedLedgerCacheEvictionWatermark = 0.9;
     @FieldContext(category = CATEGORY_STORAGE_ML,
-            doc = "Configure the cache eviction frequency for the managed 
ledger cache. Default is 100/s")
-    private double managedLedgerCacheEvictionFrequency = 100.0;
+            doc = "Configure the cache eviction frequency for the managed 
ledger cache.")
+    @Deprecated
+    private double managedLedgerCacheEvictionFrequency = 0;

Review Comment:
   Both is ok, `managedLedgerCacheEvictionFrequency` only take effect when > 0



-- 
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