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
@@ -20,8 +20,10 @@ struct AsyncJobManager;
|
||||
struct ServerModels;
|
||||
|
||||
struct SDSvrParams {
|
||||
std::string listen_ip = "127.0.0.1";
|
||||
int listen_port = 1234;
|
||||
std::string listen_ip = "127.0.0.1";
|
||||
int listen_port = 1234;
|
||||
int max_pending_jobs = 64;
|
||||
int completed_ttl_seconds = 600;
|
||||
std::string serve_html_path;
|
||||
std::vector<std::string> model_dirs;
|
||||
bool normal_exit = false;
|
||||
|
||||
Reference in new issue
Block a user