Skip to content

Commit

Permalink
Optimized retry mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
lfzm committed Oct 11, 2018
1 parent 1f24abd commit 856fb79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public async Task<Response<OrleansResponseMessage>> Invoke(GrainReference grain,
_logger.LogError($"Request {grain.GrainType.Name} Orleans failed,", ex);
if (ex.InnerException != null && ex.InnerException is Orleans.Runtime.OrleansMessageRejectionException)
{
await Task.Delay(1000);
await Task.Delay(1);
return await this.Invoke(executor, grain, parameters);
}
throw ex;
Expand Down

0 comments on commit 856fb79

Please sign in to comment.