From 60f2834cca885bda7b73991796ec74dd28d85bb8 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sat, 4 Jun 2022 14:48:14 +0800 Subject: [PATCH] ajax timout back to 1 min --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index b05e85d..1605917 100644 --- a/index.php +++ b/index.php @@ -284,7 +284,7 @@ if (array_intersect(array_keys($_GET), array_keys($ini))) { const id = tr.attributes['data-playlist-id'].value const xhr = new XMLHttpRequest() xhr.responseType = 'json' - xhr.timeout = 5000 // ms = 5 sec + xhr.timeout = 60000 // ms = 1 min let st_el = tr.querySelector('span.status') xhr.onreadystatechange = () => { if (xhr.readyState === XMLHttpRequest.DONE) {