Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 790c6a0

Browse files
daletskyif2prateek
authored andcommitted
Fix for potential deadlock (#85)
1 parent 497bacf commit 790c6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Analytics/Request/BlockingRequestHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public async Task MakeRequest(Batch batch)
242242
// If status code is greater than 500 and less than 600, it indicates server error
243243
// Error code 429 indicates rate limited.
244244
// Retry uploading in these cases.
245-
Task.Delay(backoff).Wait();
245+
await Task.Delay(backoff);
246246
backoff *= 2;
247247
continue;
248248
}

0 commit comments

Comments
 (0)