increased timeout to 60s
This commit is contained in:
parent
ce0be1fe1e
commit
1526f203ba
@ -22,7 +22,7 @@ web3.setProvider(new web3.providers.HttpProvider('http://' + (process.env.RPC_HO
|
|||||||
Socket = Primus.createSocket({
|
Socket = Primus.createSocket({
|
||||||
transformer: 'websockets',
|
transformer: 'websockets',
|
||||||
pathname: '/api',
|
pathname: '/api',
|
||||||
timeout: 10000,
|
timeout: 60000,
|
||||||
strategy: 'disconnect,online',
|
strategy: 'disconnect,online',
|
||||||
plugin: {emitter: Emitter, sparkLatency: Latency}
|
plugin: {emitter: Emitter, sparkLatency: Latency}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user