Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disable callbackWaitsForEmptyEventLoop (#2638)
* disable callbackWaitsForEmptyEventLoop Disable callbackWaitsForEmptyEventLoop for HTTP OPTIONS request since ApolloServer already disable callbackWaitsForEmptyEventLoop for POST request. (https://github.com/apollographql/apollo-server/blob/1ec2890397ca306350b0e1f33eec7b5f3f951d8d/packages/apollo-server-lambda/src/lambdaApollo.ts#L33) Otherwise is lambda event loop is not empty, subsequence HTTP OPTIONS request will be hang and even timeout without throwing proper error. * fix prettier issue fix prettier issue
- Loading branch information