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 2022/10/12 14:25:49 UTC

[GitHub] [pulsar] mattisonchao commented on a diff in pull request #18013: [improve][common] Add thread name for RateLimiter.

mattisonchao commented on code in PR #18013:
URL: https://github.com/apache/pulsar/pull/18013#discussion_r993536533


##########
pulsar-common/src/main/java/org/apache/pulsar/common/util/RateLimiter.java:
##########
@@ -80,7 +81,8 @@ public class RateLimiter implements AutoCloseable{
             this.executorService = scheduledExecutorService;
             this.externalExecutor = true;
         } else {
-            final ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1);
+            final ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(1,

Review Comment:
   pulsar-rate-limiter?



-- 
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: commits-unsubscribe@pulsar.apache.org

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