We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@deim and I discovered that Neon connection goes down for unknown reasons during pairing session.
Migrate to AWS RDS Aurora
The text was updated successfully, but these errors were encountered:
The issue was related to wrong db connection management.
func handler( clientModel core.ClientInputToGraph, clientDiagram core.ClientGraphToDiagram, corsHeaders corsHeaders, clientStorage core.ClientStorage, ) func( ctx context.Context, req events.APIGatewayProxyRequest, ) (events.APIGatewayProxyResponse, error) { return func( ctx context.Context, req events.APIGatewayProxyRequest, ) (events.APIGatewayProxyResponse, error) { // connection closed after the first invocation defer func() { _ = clientStorage.Close(ctx) }() /* rest of the code */ }
func main() { /* rest of the code */ // connection is closed on lambda container termination ctx, cancelFn := context.WithTimeout(context.Background(), time.Second*10) defer cancelFn() defer func() { _ = clientStorage.Close(ctx) }() }
Sorry, something went wrong.
No branches or pull requests
Problem
@deim and I discovered that Neon connection goes down for unknown reasons during pairing session.
Proposed Solution
Migrate to AWS RDS Aurora
The text was updated successfully, but these errors were encountered: