berenddeboer / cdk-rds-sql

A CDK construct that allows creating roles and databases an on Aurora Serverless Postgresql cluster.
Apache License 2.0
23 stars 11 forks source link

Timeout is very low #7

Closed moltar closed 6 months ago

moltar commented 1 year ago

This timeout value is low, especially for RDS Serverless v1, which can be sleeping and needs time to wake up.

https://github.com/berenddeboer/cdk-rds-sql/blob/2ee7dd1e969bb7b0d7291faa0d6b66f49c34498b/src/handler.ts#L261

I don't see any harm in setting this higher, as CloudFormation is slow.

berenddeboer commented 6 months ago

Ah that way, agree, but does it wake up in 30 seconds and connect? Anyway, v1 is no longer supported end of the year.