Skip to content

Commit

Permalink
Merge pull request #1542 from tigerbeetle/matklad/reasonable-timeout
Browse files Browse the repository at this point in the history
dotnet: retry for 5 minutes, not 5 hours
  • Loading branch information
matklad committed Feb 12, 2024
2 parents a89e709 + 3b186ab commit 9317d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clients/dotnet/ci.zig
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn tests(shell: *Shell, gpa: std.mem.Allocator) !void {
const image = "mcr.microsoft.com/dotnet/sdk:" ++ image_tag;

for (0..5) |attempt| {
if (attempt > 0) std.time.sleep(60 * std.time.ns_per_min);
if (attempt > 0) std.time.sleep(1 * std.time.ns_per_min);
if (shell.exec("docker image pull {image}", .{ .image = image })) {
break;
} else |_| {}
Expand Down

0 comments on commit 9317d8e

Please sign in to comment.