mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
Improve Azure startup time and fix command palette (#5761)
* Improve Azure startup time and fix command palette - Improvement (but not full fix) for #4732 where Azure startup is very slow. This speeds the startup by up to 5 seconds by - Changing from fixed 5 second initial wait time to a promise to check for accounts - Using the accounts changed notification to send a message when accounts are ready. This is usually what will "win out" since Azure seems to load before the Account Providers are set up. - Remove right-click actions from the command palette. - Rename Azure actions so it's clear what they are in the command palette. * Remove coveralls task while investigating how to make optional task * Add void return type
This commit is contained in:
@@ -364,6 +364,8 @@ export class AccountManagementService implements IAccountManagementService {
|
||||
addedProvider: provider.metadata,
|
||||
initialAccounts: provider.accounts.slice(0) // Slice here to make sure no one can modify our cache
|
||||
});
|
||||
// Notify listeners that the account has been updated
|
||||
self.fireAccountListUpdate(provider, false);
|
||||
});
|
||||
|
||||
// TODO: Add stale event handling to the providers
|
||||
|
||||
Reference in New Issue
Block a user