perf: faster builds, leaner daemon, smoother install/run (0.9.20)
Reuse libcstcore.a for tests with -MMD incremental deps; idle-backoff the parliament seat loop; defer curl init and cache settings; add systemd helper. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+6
-1
@@ -20,7 +20,12 @@ void cst_extensions_wait(FILE *log) {
|
||||
cst_mcp_counts(&ready, &total);
|
||||
if (total == 0)
|
||||
return;
|
||||
cst_mcp_wait_ready(30000);
|
||||
/* Default 8s (was 30s); override with CST_MCP_WAIT_MS. */
|
||||
const char *e = getenv("CST_MCP_WAIT_MS");
|
||||
int ms = e && atoi(e) >= 0 ? atoi(e) : 8000;
|
||||
if (ms > 60000)
|
||||
ms = 60000;
|
||||
cst_mcp_wait_ready(ms);
|
||||
cst_mcp_info_t info[CST_MCP_MAX];
|
||||
int n = cst_mcp_info(info, CST_MCP_MAX);
|
||||
for (int i = 0; log && i < n; i++) {
|
||||
|
||||
Reference in New Issue
Block a user