Commit b88802e
committed
Have SQL connection pool handle racy uncancellable timeout.
Motivation:
The SQL connection pool resource acquisition completion can race against the acquisition timeout.
Changes:
When the acquisition timeout cannot be cancelled, the resource should be recycled and the promise should not be completed.1 parent bf228b8 commit b88802e
File tree
1 file changed
+17
-16
lines changed- vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/pool
1 file changed
+17
-16
lines changedLines changed: 17 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
283 | 286 | | |
284 | | - | |
| 287 | + | |
285 | 288 | | |
286 | | - | |
287 | | - | |
288 | 289 | | |
289 | 290 | | |
290 | 291 | | |
| |||
0 commit comments