Skip to content

Commit 17e9db2

Browse files
committed
start sequenceId with 1 on server
1 parent 0fb75ed commit 17e9db2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/commands/command.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class Command extends EventEmitter {
2323
if (!this.next) {
2424
this.next = this.start;
2525
connection._resetSequenceId();
26+
if (connection.config.isServer) {
27+
connection._bumpSequenceId(1)
28+
}
2629
}
2730
if (packet && packet.isError()) {
2831
const err = packet.asError(connection.clientEncoding);

0 commit comments

Comments
 (0)