Skip to content

Commit 29d8813

Browse files
Update signalr-howto-troubleshoot-guide.md
Was trying this sample and noticed that it was not working. Checking the official docs https://learn.microsoft.com/en-us/dotnet/framework/performance/thread-pool-etw-events#threadpoolworkerthreadadjustmentadjustment it appears we are inspecting the wrong index.
1 parent faa67d7 commit 29d8813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-signalr/signalr-howto-troubleshoot-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ public class ThreadPoolStarvationDetector : EventListener
389389
{
390390
// See: https://learn.microsoft.com/dotnet/framework/performance/thread-pool-etw-events#threadpoolworkerthreadadjustmentadjustment
391391
if (eventData.EventId == EventIdForThreadPoolWorkerThreadAdjustmentAdjustment &&
392-
eventData.Payload[3] as uint? == ReasonForStarvation)
392+
eventData.Payload[2] as uint? == ReasonForStarvation)
393393
{
394394
_logger.LogWarning("Thread pool starvation detected!");
395395
}

0 commit comments

Comments
 (0)