Increase preset command timeouts

This commit is contained in:
Cohee
2024-01-18 16:36:26 +02:00
parent 7d34ed56e6
commit f966c398ef
2 changed files with 2 additions and 2 deletions

View File

@@ -456,7 +456,7 @@ async function presetCommandCallback(_, name) {
*/
async function waitForConnection() {
try {
await waitUntilCondition(() => online_status !== 'no_connection', 5000, 100);
await waitUntilCondition(() => online_status !== 'no_connection', 10000, 100);
} catch {
console.log('Timeout waiting for API to connect');
}