Skip to content

Commit c8e683d

Browse files
committed
Variable rename in QueueManager
1 parent af91ded commit c8e683d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Cleipnir.ResilientFunctions/Queuing/QueueManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public async Task AfterFlush()
251251
if (_thrownException != null)
252252
throw _thrownException;
253253

254-
var (matched, positionToRemoveIndex, pulseTask) = TryTakeMessage(predicate);
254+
var (matched, positionToRemoveIndex, interruptSignal) = TryTakeMessage(predicate);
255255
if (matched != null)
256256
{
257257
var toRemoveId = new EffectId([-1, 0, positionToRemoveIndex]);
@@ -272,7 +272,7 @@ public async Task AfterFlush()
272272
return matched.Envelope;
273273
}
274274

275-
await Task.WhenAny(pulseTask, timeoutTask, maxWaitTask);
275+
await Task.WhenAny(interruptSignal, timeoutTask, maxWaitTask);
276276

277277
if (timeoutTask.IsCompleted)
278278
return null;

0 commit comments

Comments
 (0)