shorten_expanded: increase timeout
This commit is contained in:
parent
36ad46e60d
commit
5bc47451e1
|
@ -51,7 +51,7 @@ Plugins.Shorten_Expanded = {
|
||||||
const id = setTimeout(() => {
|
const id = setTimeout(() => {
|
||||||
clearTimeout(id);
|
clearTimeout(id);
|
||||||
reject(new Error("timed out"));
|
reject(new Error("timed out"));
|
||||||
}, 250)
|
}, 2000)
|
||||||
})
|
})
|
||||||
|
|
||||||
promises.push(Promise.race([promise, timeout]));
|
promises.push(Promise.race([promise, timeout]));
|
||||||
|
|
Loading…
Reference in New Issue