Skip to content

Commit

Permalink
Change it back.
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Mar 20, 2024
1 parent 8d8efd9 commit bc21f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundatio/Queues/InMemoryQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ protected override async Task<IQueueEntry<T>> DequeueImplAsync(CancellationToken
Interlocked.Increment(ref _dequeuedCount);
_logger.LogTrace("Dequeue: Got Item");

ScheduleNextMaintenance(SystemClock.UtcNow.Add(_options.WorkItemTimeout));
await entry.RenewLockAsync();
ScheduleNextMaintenance(SystemClock.UtcNow.Add(_options.WorkItemTimeout));
await OnDequeuedAsync(entry).AnyContext();

return entry;
Expand Down

0 comments on commit bc21f1a

Please sign in to comment.