fix #896: increased wasm timeout

This commit is contained in:
antelle 2018-04-02 08:32:27 +02:00
parent a4a878c30b
commit 091de3e4e0
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ const KdbxwebInit = {
return Promise.reject('WebAssembly is not supported');
}
return new Promise((resolve, reject) => {
const loadTimeout = setTimeout(() => reject('timeout'), 1000);
const loadTimeout = setTimeout(() => reject('timeout'), 5000);
try {
const ts = logger.ts();
const argon2LoaderCode = require('argon2');