forked from mystiq/hydrogen-web
decrease typing timeout to 1s
This commit is contained in:
parent
c7b47bb8d6
commit
e944dc5cac
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ export class LoginViewModel extends ViewModel {
|
||||||
this._abortQueryOperation = this.disposeTracked(this._abortQueryOperation);
|
this._abortQueryOperation = this.disposeTracked(this._abortQueryOperation);
|
||||||
this.emitChange("isFetchingLoginOptions");
|
this.emitChange("isFetchingLoginOptions");
|
||||||
this.disposeTracked(this._abortHomeserverQueryTimeout);
|
this.disposeTracked(this._abortHomeserverQueryTimeout);
|
||||||
const timeout = this.clock.createTimeout(2000);
|
const timeout = this.clock.createTimeout(1000);
|
||||||
this._abortHomeserverQueryTimeout = this.track(() => timeout.abort());
|
this._abortHomeserverQueryTimeout = this.track(() => timeout.abort());
|
||||||
try {
|
try {
|
||||||
await timeout.elapsed();
|
await timeout.elapsed();
|
||||||
|
|
Loading…
Reference in a new issue