Skip to content

Commit ca2fe25

Browse files
author
David Engel
authored
Change MakeReadAsyncBlocking default to false (#937)
1 parent bcdeff3 commit ca2fe25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/LocalAppContextSwitches.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static bool MakeReadAsyncBlocking
1616
[MethodImpl(MethodImplOptions.AggressiveInlining)]
1717
get
1818
{
19-
return AppContext.TryGetSwitch(MakeReadAsyncBlockingString, out _makeReadAsyncBlocking) ? _makeReadAsyncBlocking : true;
19+
return AppContext.TryGetSwitch(MakeReadAsyncBlockingString, out _makeReadAsyncBlocking) ? _makeReadAsyncBlocking : false;
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)