poorbarcode opened a new pull request, #15181:
URL: https://github.com/apache/pulsar/pull/15181

   ### Motivation
   
   
https://github.com/apache/pulsar/blob/732049fc6ca1beb046deb43057be2b130736fbca/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L2645-L2652
   
   `L2468-L2469` make serverCnx disabled auto read, but **there has a beter 
implements** at `L2723-L2728`:
   
   
   
https://github.com/apache/pulsar/blob/732049fc6ca1beb046deb43057be2b130736fbca/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java#L2723-L2728
   
   
   At the better implements, can reduce false statistics( when a serverCnx 
already disabled auto read, will not increment another once). 
   
   ### Documentation
   - [ ] `doc-required` 
   - [x] `no-need-doc` 
   - [ ] `doc` 
   - [ ] `doc-added`


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