Extend Stable Horde waiting time

This commit is contained in:
Cohee
2023-06-07 17:00:14 +03:00
parent 24dc5baf33
commit cd4d96acab

View File

@ -3281,7 +3281,7 @@ app.post('/horde_userinfo', jsonParser, async (_, response) => {
})
app.post('/horde_generateimage', jsonParser, async (request, response) => {
const MAX_ATTEMPTS = 100;
const MAX_ATTEMPTS = 200;
const CHECK_INTERVAL = 3000;
const api_key_horde = readSecret(SECRET_KEYS.HORDE) || ANONYMOUS_KEY;
console.log('Stable Horde request:', request.body);