Integrate keepalives into websocket resources
This commit is contained in:
parent
7d2b41db11
commit
cd363bd84d
6 changed files with 116 additions and 118 deletions
|
@ -72,8 +72,9 @@
|
|||
} else {
|
||||
console.log('Unknown websocket message', request.path);
|
||||
}
|
||||
}, {
|
||||
keepalive: { path: '/v1/keepalive' }
|
||||
});
|
||||
new KeepAlive(wsr, { disconnect: false });
|
||||
});
|
||||
}).then(function() {
|
||||
return generateKeys(100, progressCallback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue