Increased the script timeout to 15 seconds
parent
8bea16172d
commit
cb00b236bb
|
@ -33,7 +33,7 @@ function load_script_url(url: string) : Promise<void> {
|
||||||
const timeout_handle = setTimeout(() => {
|
const timeout_handle = setTimeout(() => {
|
||||||
cleanup();
|
cleanup();
|
||||||
reject("timeout");
|
reject("timeout");
|
||||||
}, 10 * 1000);
|
}, 15 * 1000);
|
||||||
script_tag.type = "application/javascript";
|
script_tag.type = "application/javascript";
|
||||||
script_tag.async = true;
|
script_tag.async = true;
|
||||||
script_tag.defer = true;
|
script_tag.defer = true;
|
||||||
|
|
Loading…
Reference in New Issue