refactor: debug info.

This commit is contained in:
Gordon 2024-04-17 15:19:04 +08:00
parent ef96c70100
commit 63e982227d

View File

@ -415,7 +415,6 @@ func (och *OnlineHistoryRedisConsumerHandler) ConsumeClaim(
for { for {
select { select {
case <-ticker.C: case <-ticker.C:
log.ZDebug(context.Background(), "ticker update", "length", len(messages))
// if the buffer is empty and running is false, return loop. // if the buffer is empty and running is false, return loop.
if len(messages) == 0 { if len(messages) == 0 {
if !running.Load() { if !running.Load() {