fix: increase keep-alive time

This commit is contained in:
Alexis Tyler
2021-02-13 08:47:36 +10:30
parent 91bbe2277e
commit be78cf040f

View File

@@ -388,7 +388,7 @@ export const graphql = {
types,
resolvers,
subscriptions: {
keepAlive: 1000,
keepAlive: 30000,
onConnect: async (connectionParams: Record<string, string>) => new Promise((resolve, reject) => {
try {
const apiKey = connectionParams['x-api-key'];