Explorar o código

Interpretet timeout in seconds, not ms (#140)

Paulus Schoutsen %!s(int64=3) %!d(string=hai) anos
pai
achega
3f60b2ed43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/install-dialog.ts

+ 1 - 1
src/install-dialog.ts

@@ -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;