mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
7c3c13cecf
Fixes #26085. Adds a basic retry utility with some defaults, starts off with a 100ms wait, then 250ms, then 500ms I've applied the retry in the http client, reusing an existing function, so this also applies to retrying downloads of deno binaries in `upgrade` and `compile`. I can make a separate function that doesn't retry so this doesn't affect `upgrade` and `compile`, but it seemed desirable to have retries there too, so I left it in. |
||
---|---|---|
.. | ||
cache | ||
resolvers | ||
mod.rs | ||
registry.rs | ||
resolution.rs |