Skip to content

Conversation

trevor-scheer
Copy link
Contributor

No description provided.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Feb 14, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@trevor-scheer trevor-scheer marked this pull request as ready for review February 14, 2023 22:52
},
plugins: [
ApolloServerPluginDrainHttpServer({
// @ts-expect-error drain server plugin currently only accepts an http.Server
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the API close enough that this works? Wonder if it might be worth just throwing together an http2 drain plugin instead. You'd still have to do "track active sessions" yourself but within a given session you don't have to track active requests because the http2 API provides a graceful http2session.close() for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants