File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ internal StreamTracker StreamTracker
9999 internal HubCallerContext HubCallerContext { get ; }
100100
101101 internal Exception ? CloseException { get ; private set ; }
102- internal SemaphoreSlim ActiveInvocationLimit { get ; }
102+
103+ internal SemaphoreSlim ? ActiveInvocationLimit { get ; }
103104
104105 /// <summary>
105106 /// Gets a <see cref="CancellationToken"/> that notifies when the connection is aborted.
Original file line number Diff line number Diff line change @@ -2942,10 +2942,6 @@ public async Task HubMethodInvokeDoesNotCountTowardsClientTimeout()
29422942 var hubMethodTask = client . InvokeAsync ( nameof ( LongRunningHub . LongRunningMethod ) ) ;
29432943 await tcsService . StartedMethod . Task . OrTimeout ( ) ;
29442944
2945- // Invoke another hub method (which will be blocked by the first method) in order to stop the timeout
2946- // This is how a real-world example would behave
2947- await client . SendInvocationAsync ( nameof ( LongRunningHub . LongRunningMethod ) ) . OrTimeout ( ) ;
2948-
29492945 // Tick heartbeat while hub method is running to show that close isn't triggered
29502946 client . TickHeartbeat ( ) ;
29512947
You can’t perform that action at this time.
0 commit comments