[object Object]

← back to Wallco Ai

designer-studio compose: bump generator spawn timeout 180s→300s — prod render+internal-regen cycle exceeded 180s, causing spurious code-null re-rolls

531f5cedcf5e35ee26a39cafe18f9b8395be4076 · 2026-05-31 19:15:00 -0700 · Steve Abrams

Files touched

Diff

commit 531f5cedcf5e35ee26a39cafe18f9b8395be4076
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun May 31 19:15:00 2026 -0700

    designer-studio compose: bump generator spawn timeout 180s→300s — prod render+internal-regen cycle exceeded 180s, causing spurious code-null re-rolls
---
 server.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/server.js b/server.js
index a124a4b..ccc5a08 100644
--- a/server.js
+++ b/server.js
@@ -21941,7 +21941,11 @@ app.post('/api/studio/compose', (req, res) => {
            // WALLCO_SEAMLESS_GATE=0 keeps the round-1 tile instead of letting the
            // generator skip/re-roll it on a seam defect — we heal it ourselves below.
            env: { ...process.env, GEN_BACKEND: process.env.GEN_BACKEND || 'replicate', WALLCO_SEAMLESS_GATE: '0' },
-           stdio: ['ignore', out, out], timeout: 180000 });
+           // 300s (not 180s): on prod a render + an internal ghost/frame-gate
+           // regenerate can exceed 180s → the child was SIGKILLed mid-run
+           // (code null) and spuriously re-rolled. 300s lets a full
+           // render+regen+vision cycle finish.
+           stdio: ['ignore', out, out], timeout: 300000 });
       child.on('exit', (code) => {
         try { fs.closeSync(out); } catch {}
         // Attribute from the LAST "Created N/N · IDs:" log line (this attempt's),

← 2b40d83 security: gate /api/luxe-curator/regen + /pick behind requir  ·  back to Wallco Ai  ·  drunk-animals quality purge — unpublish 513 'too abstract' d 4fbb6e7 →