forked from ziglang/zig
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As noted in ziglang#17472, this should probably be configurable; however, I'm not sure what the best approach for this is, and it's not necessary for an MVP. For now, this is hardcoded to make 4 total attempts, with delays of 200, 800, and 4000 ms respectively between attempts. I've erred on the side of retrying unnecessarily here; there are definitely errors we retry on which really ought to trigger the error immediately. We can work to tighten this up a little in future. Resolves: ziglang#17472
- Loading branch information
Showing
1 changed file
with
111 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters