Introduce 'Command Timeout' option for MSSQL connections (#21734)

This commit is contained in:
Cheena Malhotra
2023-01-26 13:50:21 -08:00
committed by GitHub
parent cf5572a7f1
commit f2f3d1c4ef
6 changed files with 44 additions and 0 deletions

View File

@@ -179,6 +179,20 @@
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "commandTimeout",
"displayName": "%cms.connectionOptions.commandTimeout.displayName%",
"description": "%cms.connectionOptions.commandTimeout.description%",
"groupName": "%cms.connectionOptions.groupName.initialization%",
"valueType": "number",
"defaultValue": "30",
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,

View File

@@ -62,6 +62,8 @@
"cms.connectionOptions.applicationIntent.description": "Declares the application workload type when connecting to a server",
"cms.connectionOptions.connectTimeout.displayName": "Connect timeout",
"cms.connectionOptions.connectTimeout.description": "The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error",
"cms.connectionOptions.commandTimeout.displayName": "Command timeout",
"cms.connectionOptions.commandTimeout.description": "The length of time (in seconds) to wait for a command to execute before terminating the attempt and generating an error",
"cms.connectionOptions.currentLanguage.displayName": "Current language",
"cms.connectionOptions.currentLanguage.description": "The SQL Server language record name",
"cms.connectionOptions.columnEncryptionSetting.displayName": "Column encryption",

View File

@@ -746,6 +746,20 @@
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "commandTimeout",
"displayName": "%mssql.connectionOptions.commandTimeout.displayName%",
"description": "%mssql.connectionOptions.commandTimeout.description%",
"groupName": "%mssql.connectionOptions.groupName.initialization%",
"valueType": "number",
"defaultValue": "30",
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,

View File

@@ -105,6 +105,8 @@
"mssql.connectionOptions.applicationIntent.description": "Declares the application workload type when connecting to a server",
"mssql.connectionOptions.connectTimeout.displayName": "Connect timeout",
"mssql.connectionOptions.connectTimeout.description": "The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error",
"mssql.connectionOptions.commandTimeout.displayName": "Command timeout",
"mssql.connectionOptions.commandTimeout.description": "The length of time (in seconds) to wait for a command to execute before terminating the attempt and generating an error",
"mssql.connectionOptions.currentLanguage.displayName": "Current language",
"mssql.connectionOptions.currentLanguage.description": "The SQL Server language record name",
"mssql.connectionOptions.columnEncryptionSetting.displayName": "Always Encrypted",

View File

@@ -143,6 +143,12 @@
<trans-unit id="cms.connectionOptions.connectTimeout.displayName">
<source xml:lang="en">Connect timeout</source>
</trans-unit>
<trans-unit id="cms.connectionOptions.commandTimeout.description">
<source xml:lang="en">The length of time (in seconds) to wait for a command to execute before terminating the attempt and generating an error</source>
</trans-unit>
<trans-unit id="cms.connectionOptions.commandTimeout.displayName">
<source xml:lang="en">Command timeout</source>
</trans-unit>
<trans-unit id="cms.connectionOptions.connectionName.description">
<source xml:lang="en">Custom name of the connection</source>
</trans-unit>

View File

@@ -208,6 +208,12 @@
<trans-unit id="mssql.connectionOptions.connectTimeout.displayName">
<source xml:lang="en">Connect timeout</source>
</trans-unit>
<trans-unit id="mssql.connectionOptions.commandTimeout.description">
<source xml:lang="en">The length of time (in seconds) to wait for a command to execute before terminating the attempt and generating an error</source>
</trans-unit>
<trans-unit id="mssql.connectionOptions.commandTimeout.displayName">
<source xml:lang="en">Command timeout</source>
</trans-unit>
<trans-unit id="mssql.connectionOptions.connectionName.description">
<source xml:lang="en">Custom name of the connection</source>
</trans-unit>