Closed MrMDavidson closed 5 years ago
Is there a reason why this isn't using
ConfigureAwait(false)
?
No 😄
It probably should.
Okay, just wanted to check there wasn't some big underlying reason for it before I looked into it further!
Fixed in 5.0.0-b7 😄
Just looking through some of the code in Rebus.Sqlserver. I know in Rebus core's
ThreadPoolWorker
that it's usingConfigureAwait(false)
for all it's async operations. However I notice that inSqlServerTransport
(and the lease transport, too, I guess) this isn't the case.Eg. https://github.com/rebus-org/Rebus.SqlServer/blob/db455fcca9ff7317a8169276250c7c35812b6f7f/Rebus.SqlServer/SqlServer/Transport/SqlServerTransport.cs#L288
Is there a reason why this isn't using
ConfigureAwait(false)
?