Commit 61a8b67
committed
fix: add timeout to releasePromise in connection destroy path
releasePromise (e.g. DISCARD ALL) had no timeout in internalDestroy(),
causing connections to stay in PENDING_DESTROY indefinitely when the
database is unreachable. These connections count toward maximumPoolSize,
blocking the pool from creating new connections.1 parent 9714266 commit 61a8b67
File tree
2 files changed
+14
-6
lines changed- .changeset
- packages/driver/src/factories
2 files changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
266 | 273 | | |
267 | 274 | | |
268 | | - | |
| 275 | + | |
269 | 276 | | |
270 | 277 | | |
271 | 278 | | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | 279 | | |
277 | 280 | | |
278 | 281 | | |
| |||
0 commit comments