mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-13 03:30:46 +02:00
Update main.js
This commit is contained in:
parent
7b4bd5344c
commit
401655c3ae
@ -534,7 +534,7 @@ function setupEventSource() {
|
|||||||
eventSource.close();
|
eventSource.close();
|
||||||
manualRefresh();
|
manualRefresh();
|
||||||
}
|
}
|
||||||
}, 10000); // 10 seconds timeout to establish connection
|
}, 30000); // 30 seconds timeout to establish connection
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Failed to create EventSource:", error);
|
console.error("Failed to create EventSource:", error);
|
||||||
|
Loading…
Reference in New Issue
Block a user