mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
docs: clarify XInfoGroup.Lag field behavior
This commit is contained in:
@ -2104,7 +2104,9 @@ type XInfoGroup struct {
|
||||
Pending int64
|
||||
LastDeliveredID string
|
||||
EntriesRead int64
|
||||
Lag int64
|
||||
// Lag represents the number of pending messages in the stream not yet
|
||||
// delivered to this consumer group. Returns -1 when the lag cannot be determined.
|
||||
Lag int64
|
||||
}
|
||||
|
||||
var _ Cmder = (*XInfoGroupsCmd)(nil)
|
||||
|
Reference in New Issue
Block a user