Commit 11aebb2
committed
Serialize HTTP requests to one pool.
This patch will solve the problem, when qira outruns the amount of free
TCP ports on the system. The proposed solution is to use a single pool
of connections, upper bounded by a number less then the amount of free
ports on typical linux system (28k on my box).1 parent 41248ed commit 11aebb2
1 file changed
Lines changed: 28 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
| |||
282 | 298 | | |
283 | 299 | | |
284 | 300 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
290 | 305 | | |
| 306 | + | |
291 | 307 | | |
292 | | - | |
| 308 | + | |
293 | 309 | | |
294 | | - | |
295 | | - | |
| 310 | + | |
| 311 | + | |
296 | 312 | | |
297 | | - | |
298 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
299 | 316 | | |
300 | 317 | | |
301 | 318 | | |
| |||
0 commit comments