Enable connection pooling by default (targeting Sept release) (#23777)

This commit is contained in:
Cheena Malhotra
2023-07-11 15:25:23 -07:00
committed by GitHub
parent 952bab7542
commit ddb5a13b45
3 changed files with 3 additions and 3 deletions

View File

@@ -445,7 +445,7 @@
"mssql.enableConnectionPooling": {
"type": "boolean",
"description": "%mssql.enableConnectionPooling%",
"default": false
"default": true
},
"mssql.tableDesigner.preloadDatabaseModel": {
"type": "boolean",

View File

@@ -176,7 +176,7 @@
"title.changeNotebookConnection": "Change SQL Notebook Connection",
"mssql.parallelMessageProcessing": "[Experimental] Whether the requests to the SQL Tools Service should be handled in parallel. This is introduced to discover the issues there might be when handling all requests in parallel. The default value is false. Azure Data Studio is required to be relaunched when the value is changed.",
"mssql.enableSqlAuthenticationProvider": "Enables use of the Sql Authentication Provider for 'Active Directory Interactive' authentication mode when user selects 'AzureMFA' authentication. This enables Server-side resource endpoint integration when fetching access tokens. This option is only supported for 'MSAL' Azure Authentication Library. Azure Data Studio is required to be relaunched when the value is changed.",
"mssql.enableConnectionPooling": "Enables connection pooling on MSSQL connections to improve overall performance of Azure Data Studio connectivity. This setting is disabled by default. Azure Data Studio is required to be relaunched when the value is changed.",
"mssql.enableConnectionPooling": "Enables connection pooling on MSSQL connections to improve overall performance of Azure Data Studio connectivity. This setting is enabled by default. Azure Data Studio is required to be relaunched when the value is changed.",
"mssql.tableDesigner.preloadDatabaseModel": "Whether to preload the database model when the database node in the object explorer is expanded. When enabled, the loading time of table designer can be reduced. Note: You might see higher than normal memory usage if you need to expand a lot of database nodes.",
"mssql.tableDesigner.allowDisableAndReenableDdlTriggers": "Whether to allow table designer to disable and re-enable DDL triggers during publish",
"mssql.objectExplorer.groupBySchema": "When enabled, the database objects in Object Explorer will be categorized by schema.",

View File

@@ -192,7 +192,7 @@ export function getEnableConnectionPoolingConfig(): boolean {
return (azdata.env.quality === azdata.env.AppQuality.dev && setting?.globalValue === undefined && setting?.workspaceValue === undefined) ? true : config[enableConnectionPoolingConfig];
}
else {
return false; // disabled by default
return true; // enabled by default
}
}