mysql - Python AWS Lambda spins new connection to RDS for each deployment -
i have python based lambda function, connects mysql(rds) database.
every time deploy lambda code , run function, new connection created.
how can reuse same connection or flush old connections before creating new one?
close connection inside lambda function. expected , normal behaviour of lambda.
Comments
Post a Comment