File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/MySqlConnector/MySql.Data.MySqlClient Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -401,9 +401,11 @@ private SchemaProvider GetSchemaProvider()
401
401
#endif
402
402
403
403
/// <summary>
404
- /// Gets the time (in seconds) to wait while trying to establish a connection
405
- /// before terminating the attempt and generating an error. The default value is 15 seconds.
406
- /// </summary>
404
+ /// Gets the time (in seconds) to wait while trying to establish a connection
405
+ /// before terminating the attempt and generating an error. This value
406
+ /// is controlled by <see cref="MySqlConnectionStringBuilder.ConnectionTimeout"/>,
407
+ /// which defaults to 15 seconds.
408
+ /// </summary>
407
409
public override int ConnectionTimeout => GetConnectionSettings ( ) . ConnectionTimeout ;
408
410
409
411
public event MySqlInfoMessageEventHandler ? InfoMessage ;
Original file line number Diff line number Diff line change @@ -208,6 +208,10 @@ public string? CharacterSet
208
208
set => MySqlConnectionStringOption . CharacterSet . SetValue ( this , value ) ;
209
209
}
210
210
211
+ /// <summary>
212
+ /// The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error.
213
+ /// The default value is 15.
214
+ /// </summary>
211
215
public uint ConnectionTimeout
212
216
{
213
217
get => MySqlConnectionStringOption . ConnectionTimeout . GetValue ( this ) ;
You can’t perform that action at this time.
0 commit comments