File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/NServiceBus.Transport.Sql.Shared/Receiving Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public AsyncCountdownLatch(int count)
1919 }
2020 }
2121
22- public Task WaitAsync ( ) => completionSource . Task ;
22+ public Task WaitAsync ( CancellationToken cancellationToken = default ) => completionSource . Task ;
2323
2424 public void Signal ( )
2525 {
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ async Task ReceiveMessages(CancellationToken messageReceivingCancellationToken)
225225 if ( shouldWaitForReceiveTasks )
226226 {
227227 // Wait for all receive operations to complete before returning (and thus peeking again)
228- await receiveLatch . WaitAsync ( ) . ConfigureAwait ( false ) ;
228+ await receiveLatch . WaitAsync ( CancellationToken . None ) . ConfigureAwait ( false ) ;
229229 }
230230 }
231231
You can’t perform that action at this time.
0 commit comments