1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/util
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
..
progress_bar feat(clean): add progress bar (#25026) 2024-08-14 13:04:07 +02:00
sync fix: support npm:bindings and npm:callsites packages (#24727) 2024-07-26 09:08:15 +02:00
v8 refactor(lsp): Have JS drive TSC event loop in LSP (#23565) 2024-05-09 13:49:10 -07:00
archive.rs fix: Don't shell out to unzip in deno upgrade/compile (#24926) 2024-08-08 00:19:05 -07:00
checksum.rs perf(cli): use faster_hex (#22761) 2024-03-07 10:00:43 -07:00
console.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
diff.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
display.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
draw_thread.rs fix: handle showing warnings while the progress bar is shown (#25187) 2024-08-23 22:07:59 +00:00
extract.rs fix(cli): named export takes precedence over default export in doc testing (#26112) 2024-10-14 19:21:47 -07:00
file_watcher.rs chore: upgrade to rust 1.80 (#24778) 2024-07-29 12:58:04 -04:00
fs.rs chore: upgrade to rust 1.81.0 (#26261) 2024-10-15 21:40:07 +05:30
logger.rs feat: support DENO_LOG env var instead of RUST_LOG (#25356) 2024-09-03 10:36:28 +02:00
mod.rs fix(install): retry downloads of registry info / tarballs (#26278) 2024-10-15 16:46:42 -07:00
path.rs refactor: move NpmCacheDir to deno_cache_dir (#25916) 2024-09-28 08:50:16 -04:00
result.rs refactor(lsp): Have JS drive TSC event loop in LSP (#23565) 2024-05-09 13:49:10 -07:00
retry.rs fix(install): retry downloads of registry info / tarballs (#26278) 2024-10-15 16:46:42 -07:00
text_encoding.rs feat(unstable): --unstable-detect-cjs for respecting explicit "type": "commonjs" (#26149) 2024-10-14 20:48:39 -04:00
unix.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
v8.rs refactor(lsp): Have JS drive TSC event loop in LSP (#23565) 2024-05-09 13:49:10 -07:00
windows.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00