1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:35:55 +00:00

shorten_expanded: increase timeout

This commit is contained in:
Andrew Dolgov
2021-03-10 15:08:36 +03:00
parent 36ad46e60d
commit 5bc47451e1

View File

@@ -51,7 +51,7 @@ Plugins.Shorten_Expanded = {
const id = setTimeout(() => {
clearTimeout(id);
reject(new Error("timed out"));
}, 250)
}, 2000)
})
promises.push(Promise.race([promise, timeout]));