1
0
mirror of synced 2024-11-05 02:59:16 +00:00

Merge branch 'release/2.7.2' into develop

This commit is contained in:
Mark van Renswoude 2021-09-09 15:11:51 +02:00
commit 34c2b6b1c2

View File

@ -42,7 +42,7 @@ namespace Tapeti.Transient
return;
if (map.TryRemove(continuationID, out var tcs))
tcs.SetResult(context.Message);
tcs.TrySetResult(context.Message);
}
@ -86,7 +86,7 @@ namespace Tapeti.Transient
private void TimeoutResponse(object tcs)
{
((TaskCompletionSource<object>)tcs).SetException(new TimeoutException("Transient RequestResponse timed out at (ms) " + defaultTimeoutMs));
((TaskCompletionSource<object>)tcs).TrySetException(new TimeoutException("Transient RequestResponse timed out at (ms) " + defaultTimeoutMs));
}
}
}