This is an automated email from the ASF dual-hosted git repository.

bogong pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new f45b20463bd fix test `testPulsarServicePulsarClientConfiguration`
f45b20463bd is described below

commit f45b20463bde3b06a880b4cc5587d5a04c528a07
Author: congbobo184 <[email protected]>
AuthorDate: Tue Nov 15 15:12:51 2022 +0800

    fix test `testPulsarServicePulsarClientConfiguration`
---
 pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
index 2e4fbe6cf07..1cdef9553f9 100644
--- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
+++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java
@@ -1422,8 +1422,6 @@ public class PulsarService implements AutoCloseable, 
ShutdownService {
                             
this.getConfiguration().getBrokerClientAuthenticationPlugin(),
                             
this.getConfiguration().getBrokerClientAuthenticationParameters()));
                 }
-
-                conf.setStatsIntervalSeconds(0);
                 this.client = createClientImpl(conf);
             } catch (Exception e) {
                 throw new PulsarServerException(e);

Reply via email to