Duansg commented on PR #3848:
URL: https://github.com/apache/hertzbeat/pull/3848#issuecomment-3532934163
This is also one of the reasons why an exception is thrown when retrieving
log data, thereby interrupting the outer loop.
```java
public LogEntry pollLogEntry() throws InterruptedException {
try {
return logEntrySyncCommands.rpop(logEntryQueueName);
} catch (Exception e) {
log.error("Failed to poll LogEntry from Redis: {}", e.getMessage());
throw new InterruptedException("Failed to poll LogEntry from Redis");
}
}
```
@bigcyy Is my understanding correct? Could you take a look?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]