提交 da175891 编写于 作者: C CyrusNajmabadi

Only repeat IO if we actually failed performing the operation.

上级 2bf2eae7
...@@ -562,6 +562,7 @@ private async Task RepeatIOAsync(Func<Task> action) ...@@ -562,6 +562,7 @@ private async Task RepeatIOAsync(Func<Task> action)
try try
{ {
await action().ConfigureAwait(false); await action().ConfigureAwait(false);
return;
} }
catch (Exception e) catch (Exception e)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册