1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00
denoland-deno/cli/npm/managed/cache
Nathan Whitaker 7c3c13cecf
fix(install): retry downloads of registry info / tarballs (#26278)
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.
2024-10-15 16:46:42 -07:00
..
mod.rs refactor: move NpmCacheDir to deno_cache_dir (#25916) 2024-09-28 08:50:16 -04:00
registry_info.rs fix(install): retry downloads of registry info / tarballs (#26278) 2024-10-15 16:46:42 -07:00
tarball.rs fix(install): retry downloads of registry info / tarballs (#26278) 2024-10-15 16:46:42 -07:00
tarball_extract.rs refactor: extract structs for downloading tarballs and npm registry packuments (#24067) 2024-06-03 01:39:13 +00:00