Skip to content

Commit

Permalink
Merge pull request #3 from GarageGroup/feature/initial-create
Browse files Browse the repository at this point in the history
Use transient failure
  • Loading branch information
pmosk authored Jan 9, 2024
2 parents 6f2055a + 9689265 commit 0bec688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Handler/Handler.Handler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public async ValueTask<Result<Unit, Failure<HandlerFailureCode>>> HandleAsync(Pi
await Task.Delay(retryDelayInSeconds * 1000, cancellationToken).ConfigureAwait(false);
}

return Failure.Create(HandlerFailureCode.Persistent, "All attempts were unsuccessful");
return Failure.Create(HandlerFailureCode.Transient, "All attempts were unsuccessful");
}

private async ValueTask<Result<Unit, Failure<Unit>>> PingAsync(PingIn input, CancellationToken cancellationToken)
Expand Down

0 comments on commit 0bec688

Please sign in to comment.