Skip to content

Commit

Permalink
Rename ToLimit to Limited
Browse files Browse the repository at this point in the history
  • Loading branch information
carlst99 committed Apr 16, 2018
1 parent 045bbaa commit 0ebd7b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Ether.Network/Client/NetClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void Connect()

if (!IsConnected)
{
if (this.Configuration.RetryMode == ClientRetryOptions.ToLimit)
if (this.Configuration.RetryMode == ClientRetryOptions.Limited)
{
int count = 0;

Expand Down
6 changes: 3 additions & 3 deletions src/Ether.Network/Client/NetClientConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public enum ClientRetryOptions
OneTime = 0,

/// <summary>
/// The client will try to connect up to the amount of times specified by <see cref="MaxRetryAttempts"/>
/// The client will try to connect a specific amount of times
/// </summary>
ToLimit = 1,
Limited = 1,

/// <summary>
/// The client will try infinitely to connect to the server
Expand Down Expand Up @@ -76,7 +76,7 @@ public int TimeOut

/// <summary>
/// Gets or sets how the client handles failed connections.
/// When using <see cref="ClientRetryOptions.ToLimit"/> set <see cref="MaxRetryAttempts"/>
/// When using <see cref="ClientRetryOptions.Limited"/> set <see cref="MaxRetryAttempts"/>
/// </summary>
public ClientRetryOptions RetryMode
{
Expand Down

0 comments on commit 0ebd7b4

Please sign in to comment.