It has to be spawned *before* we run the main loop, because otherwise if we had too many errors this would have blocked them. (Where too many is `2 * config.concurrency`. After *all* fetching goroutines would be blocked and could never resume because the `errors` channel is buffered as well. That shouldn't happen now.)
|
||
| 36 | 36 |
|
| 37 | 37 |
|
| 38 | 38 |
|
| 39 |
|
|
| 39 | 40 |
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 40 | 48 |
|
| 41 | 49 |
|
| 42 | 50 |
|
|
||
| 54 | 62 |
|
| 55 | 63 |
|
| 56 | 64 |
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
|
|
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 | 65 |
|
| 66 | 66 |
|
| 67 | 67 |
|