Reduce profile throttle time to 2 seconds

This felt a bit broken when using env.shell
This commit is contained in:
Daniel Imms 2021-05-13 06:00:14 -07:00
parent f25ff2a5c3
commit fd07b80c45

View file

@ -321,7 +321,7 @@ export class TerminalService implements ITerminalService {
});
}
@throttle(10000)
@throttle(2000)
private async _refreshAvailableProfiles(): Promise<void> {
const result = await this._detectProfiles();
if (!equals(result, this._availableProfiles)) {