AWS aurora-dsql documentation change
Summary
Updated connection pool configuration documentation: removed specific pool_size and checkout_timeout parameters from table, added explanation of pool: keyword options with example, and changed section header
Security assessment
This change updates documentation for connection pool configuration in the Aurora DSQL Ruby connector. While connection pool configuration can impact application performance and resource utilization, there's no evidence this addresses a security vulnerability or adds security-specific documentation. The changes appear to be API documentation improvements.
Diff
diff --git a/aurora-dsql/latest/userguide/SECTION_program-with-dsql-connector-for-ruby-pg.md b/aurora-dsql/latest/userguide/SECTION_program-with-dsql-connector-for-ruby-pg.md index de6e20bae..db3759dbb 100644 --- a//aurora-dsql/latest/userguide/SECTION_program-with-dsql-connector-for-ruby-pg.md +++ b//aurora-dsql/latest/userguide/SECTION_program-with-dsql-connector-for-ruby-pg.md @@ -201,2 +200,0 @@ credentials_provider | Aws::Credentials | nil | Custom credentials provider -pool_size | Integer | 5 | Connection pool size -checkout_timeout | Integer | 5 | Seconds to wait for a pool connection @@ -207,0 +206,8 @@ occ_max_retries | Integer | nil (disabled) | Max OCC retries on `pool.with`; ena +`create_pool` also accepts a `pool:` keyword with a hash of options that you pass directly to `ConnectionPool.new`. If you omit `pool:`, the connector defaults to `{size: 5, timeout: 5}`. Keys you provide override only those specific defaults. + + + pool = AuroraDsql::Pg.create_pool( + host: "your-cluster.dsql.us-east-1.on.aws", + pool: { size: 10, timeout: 10 } + ) + @@ -233 +239 @@ Postgres.js connector -Accessing Aurora DSQL +.NET connector