forked from midou/invidious
Shorten timeout for AJAX
This commit is contained in:
@ -16,7 +16,7 @@ function get_playlist(plid, retries = 5) {
|
||||
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.responseType = 'json';
|
||||
xhr.timeout = 20000;
|
||||
xhr.timeout = 10000;
|
||||
xhr.open('GET', plid_url, true);
|
||||
|
||||
xhr.onreadystatechange = function () {
|
||||
|
Reference in New Issue
Block a user