mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Increase preset command timeouts
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user