[ 
https://issues.apache.org/jira/browse/TUBEMQ-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guo Jiwei closed TUBEMQ-64.
---------------------------

> minor update & fix some typos
> -----------------------------
>
>                 Key: TUBEMQ-64
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-64
>             Project: Apache TubeMQ
>          Issue Type: Improvement
>            Reporter: Guo Jiwei
>            Assignee: Guo Jiwei
>            Priority: Low
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 1.  minor update
>  change ProducerHeartbeatTask#run
>    ```
>     if (response.getTopicInfosList().isEmpty()) {
>          if (System.currentTimeMillis() - lastEmptyTopicPrintTIme > 60000){
>              logger.warn("[Heartbeat Update] found empty topicList update!"); 
>              
>              lastEmptyTopicPrintTIme = System.currentTimeMillis();       
>           }
>       }
>   ```
>   to 
>  ```
>     if (response.getTopicInfosList().isEmpty() &&
>              System.currentTimeMillis() - lastEmptyTopicPrintTime > 60000){   
>           
>             logger.warn("[Heartbeat Update] found empty topicList update!");  
>            
>             lastEmptyTopicPrintTime = System.currentTimeMillis();       
>      }
>   ```   
> 2. fix some typos 
>     ```
>      lastEmptyBrokerPrintTIme -> lastEmptyBrokerPrintTime
>     lastEmptyTopicPrintTIme  ->  lastEmptyTopicPrintTime
>     chaneged  -> changed
>    ```
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to