Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 4e881ce

Browse files
committed
don't need to reset CommandTimeout in ExecReaderAsync as it's set in CreateCommand
1 parent 3889f11 commit 4e881ce

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ServiceStack.OrmLite/Async/OrmLiteReadCommandExtensionsAsync.cs

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ internal static class OrmLiteReadCommandExtensionsAsync
2020

2121
internal static Task<IDataReader> ExecReaderAsync(this IDbCommand dbCmd, string sql, CancellationToken token)
2222
{
23-
dbCmd.CommandTimeout = OrmLiteConfig.CommandTimeout;
2423
dbCmd.CommandText = sql;
2524

2625
if (Log.IsDebugEnabled)

tests/ServiceStack.OrmLite.Tests/ServiceStack.OrmLite.Tests.csproj.user

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<ProjectView>ShowAllFiles</ProjectView>
4+
<ProjectView>ProjectFiles</ProjectView>
55
<PublishUrlHistory>
66
</PublishUrlHistory>
77
<InstallUrlHistory>

0 commit comments

Comments
 (0)