-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added #pendingListIdleMoreThan:limit: to RsStreamConsumerGroup
- Loading branch information
Showing
3 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
...ry/RediStick-Stream-Objects.package/RsStreamConsumerGroup.class/instance/consumersInfo.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
consumers | ||
consumersInfo | ||
^ self endpoint xInfoConsumers: self streamName group: self name | ||
| consumersInfo | | ||
consumersInfo := self endpoint xInfoConsumers: self streamName group: self name. | ||
^ consumersInfo inject: Dictionary new into: [ :sum :each | sum at: each name put: each; yourself ] |
3 changes: 3 additions & 0 deletions
3
...am-Objects.package/RsStreamConsumerGroup.class/instance/pendingListIdleMoreThan.limit..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
accessing-pending-list | ||
pendingListIdleMoreThan: milliseconds limit: count | ||
^ self endpoint xPending: self streamName group: self name start: RsStreamMessageId min end: RsStreamMessageId max count: count minIdleMilliseconds: milliseconds |
2 changes: 1 addition & 1 deletion
2
...ediStick-Stream-Objects.package/RsStreamConsumerGroup.class/instance/pendingsAfter.on..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters