You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
feat(client): add command timeout option (#3008)
Co-authored-by: Florian Schunk <149071178+florian-schunk@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
79749f2461
commit
65a12d50e7
@@ -6,7 +6,7 @@ import { NamespaceProxySentinel, NamespaceProxySentinelClient, ProxySentinel, Pr
|
||||
|
||||
/* TODO: should use map interface, would need a transform reply probably? as resp2 is list form, which this depends on */
|
||||
export function parseNode(node: Record<string, string>): RedisNode | undefined{
|
||||
|
||||
|
||||
if (node.flags.includes("s_down") || node.flags.includes("disconnected") || node.flags.includes("failover_in_progress")) {
|
||||
return undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user