Interpretet timeout in seconds, not ms (#140)

This commit is contained in:
Paulus Schoutsen 2021-12-07 14:14:18 -08:00 committed by GitHub
parent 4d9f07da9f
commit 3f60b2ed43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -705,7 +705,7 @@ class EwtInstallDialog extends LitElement {
const timeout = !justInstalled
? 1000
: this._manifest.new_install_improv_wait_time !== undefined
? this._manifest.new_install_improv_wait_time
? this._manifest.new_install_improv_wait_time * 1000
: 10000;
this._info = await client.initialize(timeout);
this._client = client;