Merge pull request #26527 from backstage/freben/mysql

more lax mysql settings
This commit is contained in:
Fredrik Adelöw
2024-09-06 14:57:47 +02:00
committed by GitHub
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-test-utils': patch
---
Make MySQL pool settings a bit more lax
@@ -235,7 +235,11 @@ export class MysqlEngine implements Engine {
client: this.#properties.driver,
connection,
pool: {
acquireTimeoutMillis: 10000,
min: 0,
max: 1,
acquireTimeoutMillis: 20_000,
createTimeoutMillis: 20_000,
createRetryIntervalMillis: 1_000,
},
});
}