Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public async ValueTask<ConnectResult> TryConnectAsync(ConnectContext context, in
_initialSocketData = null;
_initialSocketCreatedTime = DateTime.UtcNow;

// Schedule ping. Don't set a periodic interval to avoid any chance of timer causing the target method to run multiple times in paralle.
// Schedule ping. Don't set a periodic interval to avoid any chance of timer causing the target method to run multiple times in parallel.
// This could happen because of execution delays (e.g. hitting a debugger breakpoint).
// Instead, the socket timer target method reschedules the next run after it has finished.
_socketConnectedTimer.Change(_socketPingInterval, Timeout.InfiniteTimeSpan);
Expand Down