mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
decrease typing timeout to 1s
This commit is contained in:
parent
c7b47bb8d6
commit
e944dc5cac
@ -162,7 +162,7 @@ export class LoginViewModel extends ViewModel {
|
||||
this._abortQueryOperation = this.disposeTracked(this._abortQueryOperation);
|
||||
this.emitChange("isFetchingLoginOptions");
|
||||
this.disposeTracked(this._abortHomeserverQueryTimeout);
|
||||
const timeout = this.clock.createTimeout(2000);
|
||||
const timeout = this.clock.createTimeout(1000);
|
||||
this._abortHomeserverQueryTimeout = this.track(() => timeout.abort());
|
||||
try {
|
||||
await timeout.elapsed();
|
||||
|
Loading…
Reference in New Issue
Block a user