You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.
I have the same issue when running integration tests concurrently. Multiple threads try to get keys using GetAwaiter().GetResult() and deadlock occurs.
True, but this isn't ideal - Using Task.Run, we're just releasing the current thread & offloading the work onto a threadpool thread instead. Ideally, we want the async call: await req.Execute(ct) to return execution without having to synchronize to the original context (via configureAwait(false)) so that we can 'sync over async' in our calling code if needed.
Missing CAF here:
https://github.com/PlayFab/consuldotnet/blob/master/Consul/KV.cs#L614
Causes deadlock when the call is made in a Sync context (i.e. caller blocks with
GetAwaiter().GetResult()
)The text was updated successfully, but these errors were encountered: