Skip to content

Commit

Permalink
Update RetryOptions property types to be nullable (Azure#6711)
Browse files Browse the repository at this point in the history
  • Loading branch information
pragnagopa authored Sep 30, 2020
1 parent 14adf6d commit ac526fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/WebJobs.Script.Abstractions/Description/RetryOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ public class RetryOptions
/// <summary>
/// Gets or sets the maximum number of retries allowed per function execution
/// </summary>
public int MaxRetryCount { get; set; }
public int? MaxRetryCount { get; set; }

/// <summary>
/// Gets or sets the delay that will be used between retries when using <see cref="RetryStrategy.FixedDelay"/> strategy
/// </summary>
public TimeSpan DelayInterval { get; set; }
public TimeSpan? DelayInterval { get; set; }

/// <summary>
/// Gets or sets the minimum retry delay when using <see cref="RetryStrategy.ExponentialBackoff"/> strategy
/// </summary>
public TimeSpan MinimumInterval { get; set; }
public TimeSpan? MinimumInterval { get; set; }

/// <summary>
/// Gets or sets the maximum retry delay when using <see cref="RetryStrategy.ExponentialBackoff"/> strategy
/// </summary>
public TimeSpan MaximumInterval { get; set; }
public TimeSpan? MaximumInterval { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<Version>1.0.1-preview</Version>
<Version>1.0.2-preview</Version>
<MajorMinorProductVersion>1.0</MajorMinorProductVersion>
<AssemblyVersion>$(MajorMinorProductVersion).0.0</AssemblyVersion>
<FileVersion>$(MajorMinorProductVersion).$(BuildNumber).0</FileVersion>
Expand Down

0 comments on commit ac526fc

Please sign in to comment.