Skip to content

Commit

Permalink
Pass in correlation id to queue entry
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Sep 27, 2024
1 parent 4bc9c80 commit c13113e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundatio.Redis/Queues/RedisQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ await Run.WithRetriesAsync(() => Task.WhenAll(
}

Interlocked.Increment(ref _enqueuedCount);
var entry = new QueueEntry<T>(id, null, data, this, now, 0);
var entry = new QueueEntry<T>(id, options.CorrelationId, data, this, now, 0);
await OnEnqueuedAsync(entry).AnyContext();

if (isTraceLogLevelEnabled) _logger.LogTrace("Enqueue done");
Expand Down

0 comments on commit c13113e

Please sign in to comment.