less verbose logging
This commit is contained in:
parent
1f8b369266
commit
b4e7582a6d
|
@ -588,7 +588,7 @@ func (mb *MessageBus) Subscribe(id, topic string, opts ...SubscribeOption) chan
|
|||
log.Debugf("subscriber wants to start from %d", o.Index)
|
||||
q.ForEach(func(item interface{}) error {
|
||||
if msg, ok := item.(Message); ok && msg.ID >= o.Index {
|
||||
log.Debugf("found #%v", msg)
|
||||
log.Debugf("found msg #%d", msg.ID)
|
||||
ch <- msg
|
||||
n++
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue