Skip to content

Commit

Permalink
expose PrimaryKeepaliveMessage endLsn back #30
Browse files Browse the repository at this point in the history
  • Loading branch information
exe-dealer committed May 26, 2023
1 parent 6545bc4 commit 9532a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -1597,10 +1597,11 @@ class ReplicationStream extends BinaryReader {
break;
case 'PrimaryKeepaliveMessage':
shouldAck = shouldAck || msg.shouldReply;
// TODO msg.endLsn not exposed
// TODO messages.push(msg); ?
break;
}
if (lastLsn < msg.lsn) lastLsn = msg.lsn;
if (lastLsn < msg.endLsn) lastLsn = msg.endLsn;
if (lastTime < msg.time) lastTime = msg.time;
}
if (shouldAck) {
Expand Down

0 comments on commit 9532a39

Please sign in to comment.