Skip to content

Commit

Permalink
Fix buffer dropped reason in ConfigurableArrayPool (#108461)
Browse files Browse the repository at this point in the history
  • Loading branch information
verdie-g authored Oct 3, 2024
1 parent 95428f9 commit b3e8c3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public override void Return(T[] array, bool clearArray = false)
log.BufferReturned(bufferId, array.Length, Id);
if (!haveBucket)
{
log.BufferDropped(bufferId, array.Length, Id, ArrayPoolEventSource.NoBucketId, ArrayPoolEventSource.BufferDroppedReason.Full);
log.BufferDropped(bufferId, array.Length, Id, ArrayPoolEventSource.NoBucketId, ArrayPoolEventSource.BufferDroppedReason.OverMaximumSize);
}
}
}
Expand Down

0 comments on commit b3e8c3c

Please sign in to comment.