diff --git a/lib/redis/index.ts b/lib/redis/index.ts index 3891ecac..1c7c865f 100644 --- a/lib/redis/index.ts +++ b/lib/redis/index.ts @@ -663,6 +663,7 @@ Redis.prototype.sendCommand = function(command, stream) { this.status === "ready" || (!stream && this.status === "connect" && + commands.exists(command.name) && commands.hasFlag(command.name, "loading")); if (!this.stream) { writable = false;