fix: add setKeepAlive
This commit is contained in:
parent
d489f2d9a7
commit
a72f55c888
|
@ -37,6 +37,8 @@ export default class RPC extends ProtomuxRPC {
|
|||
stream.off("destroy", ondestroy);
|
||||
}
|
||||
});
|
||||
|
||||
stream.setKeepAlive(5000);
|
||||
}
|
||||
|
||||
async request(method: any, value: any | string = "", options = {}) {
|
||||
|
|
Loading…
Reference in New Issue