Skip to content

Commit

Permalink
Merge pull request #44 from mumez/feature/stream-objects
Browse files Browse the repository at this point in the history
Added #pendingListIdleMoreThan:limit: to RsStreamConsumerGroup
  • Loading branch information
mumez authored Sep 17, 2024
2 parents 2fadd95 + 4a7f389 commit 807c0da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
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 ]
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
reading
pendingsAfter: latestMessageId on: consumerName
^ self wrapAsAcceptableEntries: ( self endpoint
^ self wrapAsAcceptableEntries: (self endpoint
xGroupRead: self streamName
id: latestMessageId
group: self name
Expand Down

0 comments on commit 807c0da

Please sign in to comment.