mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Decrease checks interval
This commit is contained in:
@ -9289,7 +9289,7 @@ async function connectAPISlash(args, text) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (connectionRequired) {
|
if (connectionRequired) {
|
||||||
await waitUntilCondition(() => online_status !== 'no_connection', 5000, 500);
|
await waitUntilCondition(() => online_status !== 'no_connection', 5000, 100);
|
||||||
}
|
}
|
||||||
console.log('Connection successful');
|
console.log('Connection successful');
|
||||||
} catch {
|
} catch {
|
||||||
|
Reference in New Issue
Block a user