diff --git a/qlkube/src/index.js b/qlkube/src/index.js index 87ffd8055..60d11a44a 100644 --- a/qlkube/src/index.js +++ b/qlkube/src/index.js @@ -101,15 +101,6 @@ async function main() { plugins: [ ApolloServerPluginDrainHttpServer({ httpServer: httpServer }), ApolloServerPluginLandingPageGraphQLPlayground(), - { - async serverWillStart() { - return { - async drainServer() { - await serverCleanup.dispose(); - }, - }; - }, - }, ], formatError: error => { try { @@ -169,12 +160,6 @@ async function main() { }) ); - const wsServer = new WebSocketServer({ - server: httpServer, - path: '/subscription', - }); - const serverCleanup = useServer({ schema }, wsServer); - const PORT = process.env.CROWNLABS_QLKUBE_PORT || 8080; httpServer.listen({ port: PORT }, () => {