File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2057,6 +2057,9 @@ func (cmd *XInfoGroupsCmd) readReply(rd *proto.Reader) error {
20572057 }
20582058 case "lag" :
20592059 group .Lag , err = rd .ReadInt ()
2060+
2061+ // lag: the number of entries in the stream that are still waiting to be delivered
2062+ // to the group's consumers, or a NULL(Nil) when that number can't be determined.
20602063 if err != nil && err != Nil {
20612064 return err
20622065 }
@@ -2366,6 +2369,8 @@ func readStreamGroups(rd *proto.Reader) ([]XInfoStreamGroup, error) {
23662369 return nil , err
23672370 }
23682371 case "lag" :
2372+ // lag: the number of entries in the stream that are still waiting to be delivered
2373+ // to the group's consumers, or a NULL(Nil) when that number can't be determined.
23692374 group .Lag , err = rd .ReadInt ()
23702375 if err != nil && err != Nil {
23712376 return nil , err
You can’t perform that action at this time.
0 commit comments