Skip to content

Commit

Permalink
server: fix runaway cluster sockets
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Apr 21, 2023
1 parent b5e16b4 commit 38c7006
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions server/src/plugin/plugin-remote-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export function startPluginRemote(mainFilename: string, pluginId: string, peerSe
throw e;
}
})();
clusterPeers.set(port, clusterPeerPromise);
}
return clusterPeerPromise;
};
Expand Down

0 comments on commit 38c7006

Please sign in to comment.