From be78cf040f0caa21cc499cf64f01223fef776160 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Sat, 13 Feb 2021 08:47:36 +1030 Subject: [PATCH] fix: increase keep-alive time --- app/graphql/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/graphql/index.ts b/app/graphql/index.ts index df3bf35b9..e658bf4f3 100644 --- a/app/graphql/index.ts +++ b/app/graphql/index.ts @@ -388,7 +388,7 @@ export const graphql = { types, resolvers, subscriptions: { - keepAlive: 1000, + keepAlive: 30000, onConnect: async (connectionParams: Record) => new Promise((resolve, reject) => { try { const apiKey = connectionParams['x-api-key'];