Would be nice if I could configure autoReconnectOptions for the scc-broker socket, here:
|
let client = socketClusterClient.create(connectOptions); |
.. from the socketcluster boilerplate repo, here: https://github.com/SocketCluster/socketcluster/blob/7b1d97cbcd9d37ae51eb9305bbaedfac774622b8/app/server.js#L99-L113
The default options take far too long to reconnect, starting at 10s with a max of 60s. I need my scc-workers to reconnect much faster.
Might as well allow the entire options object to be passed somehow, instead of just autoReconnectOptions. I'd rather not maintain a fork in order to do this. Thanks!
Would be nice if I could configure
autoReconnectOptionsfor the scc-broker socket, here:scc-broker-client/client-pool.js
Line 46 in ea86804
.. from the socketcluster boilerplate repo, here: https://github.com/SocketCluster/socketcluster/blob/7b1d97cbcd9d37ae51eb9305bbaedfac774622b8/app/server.js#L99-L113
The default options take far too long to reconnect, starting at 10s with a max of 60s. I need my scc-workers to reconnect much faster.
Might as well allow the entire
optionsobject to be passed somehow, instead of justautoReconnectOptions. I'd rather not maintain a fork in order to do this. Thanks!