Skip to content

Commit 281ce5d

Browse files
fix
1 parent b6c88b8 commit 281ce5d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Ydb.Sdk/src/Ado/YdbConnectionStringBuilder.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ private void InitDefaultValues()
2727
_database = "/local";
2828
_maxSessionPool = 100;
2929
_useTls = false;
30+
_keepAlivePingDelay = SocketHttpHandlerDefaults.DefaultKeepAlivePingSeconds;
31+
_keepAlivePingTimeout = SocketHttpHandlerDefaults.DefaultKeepAlivePingTimeoutSeconds;
3032
}
3133

3234
public string Host
@@ -147,7 +149,7 @@ public int KeepAlivePingDelay
147149
}
148150
}
149151

150-
private int _keepAlivePingDelay = SocketHttpHandlerDefaults.DefaultKeepAlivePingSeconds;
152+
private int _keepAlivePingDelay;
151153

152154
public int KeepAlivePingTimeout
153155
{
@@ -159,7 +161,7 @@ public int KeepAlivePingTimeout
159161
}
160162
}
161163

162-
private int _keepAlivePingTimeout = SocketHttpHandlerDefaults.DefaultKeepAlivePingTimeoutSeconds;
164+
private int _keepAlivePingTimeout;
163165

164166
public ILoggerFactory? LoggerFactory { get; init; }
165167

0 commit comments

Comments
 (0)