Merge branch 'release/2.7.2' into develop
This commit is contained in:
commit
34c2b6b1c2
@ -42,7 +42,7 @@ namespace Tapeti.Transient
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (map.TryRemove(continuationID, out var tcs))
|
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)
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user