We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5c8279 commit 4f82af4Copy full SHA for 4f82af4
src/IntelliTect.AspNetCore.SignalR.SqlServer/Internal/SqlServer/SqlReceiver.cs
@@ -134,10 +134,10 @@ private async Task NotificationLoop(CancellationToken cancellationToken)
134
// Read rows immediately, since on the next loop we know for certain there will be rows.
135
// There's no point doing a full loop that includes setting up a SqlDependency that
136
// will go unused due to the fact that we pulled back rows.
137
- while (recordCount > 0)
+ do
138
{
139
recordCount = await ReadRows(null);
140
- }
+ } while (recordCount > 0);
141
continue;
142
143
case SqlNotificationType.Change when depResult.Source is SqlNotificationSource.Timeout:
0 commit comments