mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
Reduce profile throttle time to 2 seconds
This felt a bit broken when using env.shell
This commit is contained in:
parent
f25ff2a5c3
commit
fd07b80c45
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue