We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f54c36 commit 485690fCopy full SHA for 485690f
1 file changed
src/plugins/ConsolePollyTest/PollyCircuitTest.cs
@@ -51,7 +51,7 @@ public static async Task Circuit_3Per2sec_TestAsync()
51
Console.WriteLine(i);
52
Console.WriteLine(e);
53
Console.WriteLine();
54
- await Task.Delay(2_000);
+ await Task.Delay(e.RetryAfter ?? TimeSpan.FromSeconds(5));
55
}
56
57
0 commit comments