chore: fix early return from redis collab update stream reader
This commit is contained in:
parent
85e25f887c
commit
279a599b66
|
|
@ -116,7 +116,7 @@ impl CollabRedisStream {
|
|||
Some(id) => Some(MessageId::try_from(id)?),
|
||||
}
|
||||
};
|
||||
while Some(since) < until {
|
||||
while until.is_none() || since < until.unwrap() {
|
||||
let last_id = since.to_string();
|
||||
let batch: CollabStreamUpdateBatch = conn
|
||||
.xread_options(&[&stream_key], &[&last_id], &read_options)
|
||||
|
|
|
|||
|
|
@ -523,7 +523,6 @@ impl CollabGroup {
|
|||
message_origin: &CollabOrigin,
|
||||
msg_id: MsgId,
|
||||
) -> Result<Option<CollabAck>, RealtimeError> {
|
||||
tracing::trace!("handling collab message: {}", msg_id);
|
||||
let mut decoder = DecoderV1::from(payload);
|
||||
let reader = MessageReader::new(&mut decoder);
|
||||
let mut ack_response = None;
|
||||
|
|
|
|||
Loading…
Reference in New Issue