Skip to content

Commit 485690f

Browse files
committed
Update
1 parent 5f54c36 commit 485690f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/plugins/ConsolePollyTest/PollyCircuitTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public static async Task Circuit_3Per2sec_TestAsync()
5151
Console.WriteLine(i);
5252
Console.WriteLine(e);
5353
Console.WriteLine();
54-
await Task.Delay(2_000);
54+
await Task.Delay(e.RetryAfter ?? TimeSpan.FromSeconds(5));
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)