We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ce47c commit 4e80dc6Copy full SHA for 4e80dc6
packages/client/lib/client/index.ts
@@ -578,14 +578,15 @@ export default class RedisClient<
578
this._commandOptions = options.commandOptions;
579
}
580
581
- if (options) {
582
-
583
- if (!options.maintPushNotifications) options.maintPushNotifications = 'auto';
+ if (options && options.maintPushNotifications === undefined) {
+ options.maintPushNotifications =
+ options?.RESP === 3 ? "auto" : "disabled";
584
+ }
585
586
+ if (options) {
587
return RedisClient.parseOptions(options);
588
589
590
return options;
591
592
0 commit comments