[next] Websocket Keep Alive (#2394)

* feat: added keepalive config

* fix: format

* fix: adjusted client timeout default

* Update server.ts
This commit is contained in:
Wyatt Johnson
2019-07-09 16:27:58 +00:00
committed by GitHub
parent 9a191b44ba
commit 9e55ea66fa
4 changed files with 20 additions and 0 deletions
@@ -89,6 +89,7 @@ export default function createManagedSubscriptionClient(
if (!subscriptionClient) {
subscriptionClient = new SubscriptionClient(url, {
reconnect: true,
timeout: 60000,
connectionCallback: err => {
if (err) {
// If an error is thrown as a result of live updates being