mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-29 10:29:22 +01:00
Merge pull request #476 from JeLuF/patch-2
Incr. Server State Validtiy to 90s
This commit is contained in:
commit
07f0036b2b
@ -444,7 +444,7 @@ async function doMakeImage(task) {
|
||||
const RETRY_DELAY_IF_BUFFER_IS_EMPTY = 1000 // ms
|
||||
const RETRY_DELAY_IF_SERVER_IS_BUSY = 30 * 1000 // ms, status_code 503, already a task running
|
||||
const TASK_START_DELAY_ON_SERVER = 1500 // ms
|
||||
const SERVER_STATE_VALIDITY_DURATION = 10 * 1000 // ms
|
||||
const SERVER_STATE_VALIDITY_DURATION = 90 * 1000 // ms
|
||||
|
||||
const reqBody = task.reqBody
|
||||
const batchCount = task.batchCount
|
||||
|
Loading…
Reference in New Issue
Block a user