* A retry is sometimes needed on Windows where we may quickly run out of * ephemeral ports. A more robust solution is bumping the MaxUserPort setting * as described here: http://msdn.microsoft.com/en-us/library/aa560610%28v=bts.20%29.aspx * * @param {!number} retries * @param {!Error} err * @r
(retries, err)
| 313 | * @return {boolean} |
| 314 | */ |
| 315 | function shouldRetryRequest(retries, err) { |
| 316 | return retries < MAX_RETRIES && isRetryableNetworkError(err) |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * @param {!Error} err |
no test coverage detected