mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 03:24:30 +00:00
feat(server): make async job queue limits configurable (#2316)
This commit is contained in:
1 parent
a3c49b13be
commit
a3f46b665a
4 files changed
+36
-2
No files matched your search
@@ -287,6 +287,16 @@ If you want to use a different host or port, pass:
|
||||
--listen-ip <ip> --listen-port <port>
|
||||
```
|
||||
|
||||
The native async job queue can be tuned with:
|
||||
|
||||
```bash
|
||||
--max-pending-jobs <count> --completed-ttl-seconds <seconds>
|
||||
```
|
||||
|
||||
`--max-pending-jobs` defaults to 64 and limits how many async jobs may be
|
||||
queued or generating. `--completed-ttl-seconds` defaults to 600 and controls
|
||||
how long completed jobs remain available through the async API.
|
||||
|
||||
# Frontend
|
||||
|
||||
## Build with Frontend
|
||||
|
||||
Reference in new issue
Block a user