diff --git a/lib/cluster-adapter.ts b/lib/cluster-adapter.ts index 15d8296..45f81ea 100644 --- a/lib/cluster-adapter.ts +++ b/lib/cluster-adapter.ts @@ -436,7 +436,7 @@ export abstract class ClusterAdapter extends Adapter { ]); const expectedResponseCount = serverCount - 1; - if (opts.flags?.local || expectedResponseCount === 0) { + if (opts.flags?.local || expectedResponseCount <= 0) { return localSockets; }