You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The maximum number of retries when sending an Injection API Request before throwing an exception. Default: 0, no retries, you must explicitly enable retry settings
13
-
/// </summary>
14
-
publicintMaximumNumberOfRetries{get;}
15
-
16
-
/// <summary>
17
-
/// The minimum wait time between between HTTP retries. Default: 1s
18
-
/// </summary>
19
-
publicTimeSpanMinimumRetryTimeBetween{get;}
20
-
21
-
/// <summary>
22
-
/// The maximum wait time between between retries. Default: 10s
/// The maximum number of retries when sending an Injection API Request before throwing an exception. Default: 0, no retries, you must explicitly enable retry settings
38
+
/// </summary>
39
+
publicintMaximumNumberOfRetries{get;}
40
+
51
41
52
-
if(minimumRetryTimeBetween!=null)
53
-
{
54
-
if(minimumRetryTimeBetween.Value.Ticks<0)thrownewArgumentOutOfRangeException(nameof(minimumRetryTimeBetween),"minimumRetryTimeBetween must be greater than 0");
if(maximumRetryTimeBetween.Value.Ticks<0)thrownewArgumentOutOfRangeException(nameof(maximumRetryTimeBetween),"maximumRetryTimeBetween must be greater than 0");
65
-
if(maximumRetryTimeBetween.Value.TotalSeconds>30)thrownewArgumentOutOfRangeException(nameof(maximumRetryTimeBetween),"maximumRetryTimeBetween must be less than 30 seconds");
0 commit comments