fix: add stream setKeepAlive for rpc connections
This commit is contained in:
parent
05c0004623
commit
e2a71f6851
|
@ -43,6 +43,8 @@ export function setupStream(stream: SecretStream) {
|
|||
valueEncoding: c.json,
|
||||
});
|
||||
|
||||
stream.setKeepAlive(5000);
|
||||
|
||||
return stream[RPC_PROTOCOL_SYMBOL];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue