mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
Fixing async server tree error handling and removing timeout. (#22955)
* Fixing async server tree issues and removing timeout * removing empty results for connection errors * Fixing error message fetching * Update src/sql/workbench/services/objectExplorer/browser/asyncServerTreeDataSource.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> --------- Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
@@ -41,7 +41,6 @@ const serverGroupConfig: IConfigurationNode = {
|
||||
}
|
||||
};
|
||||
|
||||
export const NODE_EXPANSION_CONFIG = 'serverTree.nodeExpansionTimeout';
|
||||
export const USE_ASYNC_SERVER_TREE_CONFIG = 'serverTree.useAsyncServerTree';
|
||||
const serverTreeConfig: IConfigurationNode = {
|
||||
'id': 'serverTree',
|
||||
@@ -52,12 +51,6 @@ const serverTreeConfig: IConfigurationNode = {
|
||||
'type': 'boolean',
|
||||
'default': true,
|
||||
'description': localize('serverTree.useAsyncServerTree', "Use the new async server tree for the Servers view and Connection Dialog with support for new features such as dynamic node filtering. Requires a restart to take effect.")
|
||||
},
|
||||
'serverTree.nodeExpansionTimeout': {
|
||||
'type': 'number',
|
||||
'default': '45',
|
||||
'description': localize('serverTree.nodeExpansionTimeout', "The timeout in seconds for expanding a node in the Servers view"),
|
||||
'minimum': 1
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user