таймаут чанка 10s, v1.43.1

This commit is contained in:
2026-06-17 23:00:58 +04:00
parent 2525ad039f
commit 562c27879e
+1 -1
View File
@@ -173,7 +173,7 @@
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
xhr.open('POST', '/chunk_json'); xhr.open('POST', '/chunk_json');
xhr.setRequestHeader('Content-Type', 'application/json'); xhr.setRequestHeader('Content-Type', 'application/json');
xhr.timeout = 60000; xhr.timeout = 10000;
xhr.onload = function() { xhr.onload = function() {
if (xhr.status === 200) { if (xhr.status === 200) {
try { try {