mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
refactor: debug info.
This commit is contained in:
parent
ef96c70100
commit
63e982227d
@ -415,7 +415,6 @@ func (och *OnlineHistoryRedisConsumerHandler) ConsumeClaim(
|
||||
for {
|
||||
select {
|
||||
case <-ticker.C:
|
||||
log.ZDebug(context.Background(), "ticker update", "length", len(messages))
|
||||
// if the buffer is empty and running is false, return loop.
|
||||
if len(messages) == 0 {
|
||||
if !running.Load() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user