[object Object]

← back to Slack Idea Board

Loosen idea-board build throttle: 20/30s cap, 2s cooldown

5e0908320c93bff7d41ccf91007448441784bb34 · 2026-08-06 16:51:25 -0700 · Steve Abrams

Files touched

Diff

commit 5e0908320c93bff7d41ccf91007448441784bb34
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Thu Aug 6 16:51:25 2026 -0700

    Loosen idea-board build throttle: 20/30s cap, 2s cooldown
---
 server.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server.js b/server.js
index b91f8f4..a089f7c 100644
--- a/server.js
+++ b/server.js
@@ -148,9 +148,9 @@ function canon(u) {
 const BUILD_INFLIGHT = new Set();  // (id|step) keys currently spawning
 const BUILD_LAST = new Map();      // (id|step) -> last real-launch epoch-ms (cooldown)
 let BUILD_TIMES = [];              // recent real-launch timestamps (rolling window)
-const BUILD_COOLDOWN_MS   = parseInt(process.env.BUILD_COOLDOWN_MS   || '5000',  10); // same idea can't relaunch within 5s
+const BUILD_COOLDOWN_MS   = parseInt(process.env.BUILD_COOLDOWN_MS   || '2000',  10); // same idea can't relaunch within 2s
 const BUILD_WINDOW_MS     = parseInt(process.env.BUILD_WINDOW_MS     || '30000', 10); // rolling window size
-const BUILD_MAX_PER_WINDOW= parseInt(process.env.BUILD_MAX_PER_WINDOW|| '5',     10); // max real spawns per window
+const BUILD_MAX_PER_WINDOW= parseInt(process.env.BUILD_MAX_PER_WINDOW|| '20',    10); // max real spawns per window
 
 let ENRICH_BUSY = false;
 const CONCURRENCY = parseInt(process.env.ENRICH_CONCURRENCY || '4', 10); // parallel local-model calls

← c788fcd gate ideas.agentabrams.com by default (admin/DW2024!), was p  ·  back to Slack Idea Board  ·  Idea-board: auto-retry throttled launches with live countdow 502e681 →