mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
Streams: using streamCompareID() instead of direct compare in block.c.
This commit is contained in:
parent
a2177cd2b6
commit
491682a668
@ -397,10 +397,7 @@ void handleClientsBlockedOnKeys(void) {
|
||||
}
|
||||
}
|
||||
|
||||
if (s->last_id.ms > gt->ms ||
|
||||
(s->last_id.ms == gt->ms &&
|
||||
s->last_id.seq > gt->seq))
|
||||
{
|
||||
if (streamCompareID(&s->last_id, gt) > 0) {
|
||||
streamID start = *gt;
|
||||
start.seq++; /* Can't overflow, it's an uint64_t */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user