Skip to content

Commit

Permalink
Fix update log warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslav-tykhonchuk committed Jan 30, 2024
1 parent 2fcc48c commit abab8f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AzureBatchQueue/TimerBatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ async Task Update()
{
var remaining = Remaining();
await batchQueue.UpdateMessage(msg.MessageId, remaining);
logger.LogWarning("Message {msgId} was not fully processed within a timeout ({FlushPeriod}). {remainingCount} items left not completed from {totalCount} total",
FlushPeriod,
logger.LogWarning("Message {msgId} was not fully processed within a timeout ({FlushPeriod} sec). {remainingCount} items left not completed from {totalCount} total",
msg.MessageId,
remaining,
FlushPeriod.Seconds,
remaining.Length,
items.Items().Length);
}

Expand Down

0 comments on commit abab8f4

Please sign in to comment.