-
Notifications
You must be signed in to change notification settings - Fork 201
Commit fc43f30
authored
Unify
The config option `connection_acquisition_timeout` now spans anything that's
required to acquire a working connection from the pool. This includes
* Potentially fetching a routing table
This entails acquiring a connection in itself.
* Bolt, TLS, TCP handshaking
* Authentication
* Any other required IO (e.g., DNS lookups)
* Waiting for room in the pool
* possibly more
Previously, the timeout wold be restarted for auxiliary connection acquisitions
like those for fetching a routing table.connection_acquisition_timeout
behavior (#1215)1 parent adcd4f7 commit fc43f30
File tree
16 files changed
+462
-32
lines changed- docs/source
- src/neo4j
- _async
- io
- work
- _sync
- io
- work
- testkitbackend
- tests/unit
- async_/io
- mixed/io
- sync/io
16 files changed
+462
-32
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 | - | ||
42 | + | ||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 | + | ||
49 | + | ||
50 | + | ||
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
430 | 430 |
| |
431 | 431 |
| |
432 | 432 |
| |
433 | + | ||
434 | + | ||
435 | + | ||
436 | + | ||
437 | + | ||
433 | 438 |
| |
434 | 439 |
| |
435 | 440 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 | + | ||
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
40 | 41 |
| |
41 | 42 |
| |
42 | 43 |
| |
44 | + | ||
43 | 45 |
| |
44 | 46 |
| |
45 | 47 |
| |
|
Lines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
263 | + | ||
264 | + | ||
263 | 265 |
| |
264 | 266 |
| |
265 | 267 |
| |
| |||
659 | 661 |
| |
660 | 662 |
| |
661 | 663 |
| |
662 | - | ||
664 | + | ||
663 | 665 |
| |
664 | 666 |
| |
665 | 667 |
| |
666 | 668 |
| |
667 | 669 |
| |
668 | 670 |
| |
669 | 671 |
| |
670 | - | ||
672 | + | ||
671 | 673 |
| |
672 | 674 |
| |
673 | 675 |
| |
674 | 676 |
| |
675 | 677 |
| |
676 | 678 |
| |
677 | - | ||
678 | 679 |
| |
679 | 680 |
| |
680 | 681 |
| |
| |||
969 | 970 |
| |
970 | 971 |
| |
971 | 972 |
| |
972 | - | ||
973 | + | ||
974 | + | ||
975 | + | ||
973 | 976 |
| |
974 | 977 |
| |
975 | 978 |
| |
| |||
1147 | 1150 |
| |
1148 | 1151 |
| |
1149 | 1152 |
| |
1150 | - | ||
1153 | + | ||
1151 | 1154 |
| |
1152 | 1155 |
| |
1153 | 1156 |
| |
| |||
1242 | 1245 |
| |
1243 | 1246 |
| |
1244 | 1247 |
| |
1248 | + | ||
1249 | + | ||
1250 | + | ||
1251 | + | ||
1252 | + | ||
1253 | + | ||
1254 | + | ||
1245 | 1255 |
| |
1246 | 1256 |
| |
1247 | 1257 |
| |
|
Lines changed: 15 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 | + | ||
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
40 | + | ||
39 | 41 |
| |
40 | 42 |
| |
41 | 43 |
| |
| |||
159 | 161 |
| |
160 | 162 |
| |
161 | 163 |
| |
164 | + | ||
165 | + | ||
166 | + | ||
167 | + | ||
162 | 168 |
| |
163 | 169 |
| |
164 | - | ||
170 | + | ||
171 | + | ||
172 | + | ||
165 | 173 |
| |
166 | 174 |
| |
167 | 175 |
| |
168 | - | ||
176 | + | ||
169 | 177 |
| |
170 | 178 |
| |
171 | 179 |
| |
| |||
188 | 196 |
| |
189 | 197 |
| |
190 | 198 |
| |
191 | - | ||
199 | + | ||
200 | + | ||
201 | + | ||
192 | 202 |
| |
193 | 203 |
| |
194 | 204 |
| |
| |||
198 | 208 |
| |
199 | 209 |
| |
200 | 210 |
| |
211 | + | ||
201 | 212 |
| |
202 | 213 |
| |
203 | 214 |
| |
| |||
232 | 243 |
| |
233 | 244 |
| |
234 | 245 |
| |
235 | - | ||
236 | 246 |
| |
237 | 247 |
| |
238 | 248 |
| |
239 | 249 |
| |
240 | 250 |
| |
241 | 251 |
| |
242 | - | ||
252 | + | ||
243 | 253 |
| |
244 | 254 |
| |
245 | 255 |
| |
|
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | - | ||
19 | - | ||
20 | - | ||
21 | - | ||
22 | - | ||
23 | - | ||
24 | - | ||
18 | + | ||
25 | 19 |
| |
26 | 20 |
| |
27 | 21 |
| |
|
0 commit comments