feat(server): make async job queue limits configurable (#2316)

This commit is contained in:
Ethan Lin authored and GitHub committed 2026-11-10 21:40:13 +08:00
1 parent a3c49b13be
commit a3f46b665a
4 files changed
+36 -2

No files matched your search

+4 -2
View File
@@ -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;