[
https://issues.apache.org/jira/browse/TUBEMQ-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guo Jiwei reassigned TUBEMQ-64:
-------------------------------
Assignee: Guo Jiwei
> 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
>
> 1. minor update
> ProducerHeartbeatTask#run
> change
> ```
> 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)