You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/04/25 12:32:47 UTC

[GitHub] [pulsar] hoswey commented on a change in pull request #10168: fix 10169 Delayed messages may be executed several milliseconds in advance

hoswey commented on a change in pull request #10168:
URL: https://github.com/apache/pulsar/pull/10168#discussion_r619808752



##########
File path: pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java
##########
@@ -238,6 +238,9 @@
             + " affecting the accuracy of the delivery time compared to the scheduled time. Default is 1 second.")
     private long delayedDeliveryTickTimeMillis = 1000;
 
+    @FieldContext(category = CATEGORY_SERVER, doc = "HashedWheelTimer duration tick time for when retrying on delayed delivery")
+    private long delayedDeliveryTickDurationMillis = 1000;

Review comment:
       In this moment, the delayedDeliveryTickTimeMillis is used for the HashedWheelTimer, reduce to 5ms will increase the cpu usage. @codelipenghui 




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org