Increased the script timeout to 15 seconds
This commit is contained in:
parent
8bea16172d
commit
cb00b236bb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue