We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 259e9b2 commit bc8abd5Copy full SHA for bc8abd5
packages/client/lib/client/index.ts
@@ -683,6 +683,7 @@ export default class RedisClient<
683
684
QUIT(): Promise<string> {
685
return this.#socket.quit(async () => {
686
+ if (this.#pingTimer) clearTimeout(this.#pingTimer);
687
const quitPromise = this.#queue.addCommand<string>(['QUIT']);
688
this.#tick();
689
const [reply] = await Promise.all([
@@ -804,6 +805,7 @@ export default class RedisClient<
804
805
}
806
807
async disconnect(): Promise<void> {
808
809
this.#queue.flushAll(new DisconnectsClientError());
810
this.#socket.disconnect();
811
await this.#destroyIsolationPool();
0 commit comments