[object Object]

← back to Wallco Ai

ComfyUI default → Mac1 (192.168.1.133:8188), Mac2 was OOM-killing claude sessions

a2dd3ee3117f7436f92b88700a4016711433d4ce · 2026-05-26 07:33:30 -0700 · Steve Abrams

Files touched

Diff

commit a2dd3ee3117f7436f92b88700a4016711433d4ce
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Tue May 26 07:33:30 2026 -0700

    ComfyUI default → Mac1 (192.168.1.133:8188), Mac2 was OOM-killing claude sessions
---
 scripts/generate_designs.js | 6 +++---
 scripts/refiner_compare.js  | 2 +-
 scripts/regen_one.js        | 2 +-
 scripts/yolo-tick.sh        | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/scripts/generate_designs.js b/scripts/generate_designs.js
index 8f20255..892b451 100644
--- a/scripts/generate_designs.js
+++ b/scripts/generate_designs.js
@@ -6,7 +6,7 @@
  * Generation backends (env-driven):
  *   GEN_BACKEND=stub        — fast placeholder (1024×1024 noise tile). Default.
  *   GEN_BACKEND=replicate   — Replicate SDXL via REPLICATE_API_TOKEN.
- *   GEN_BACKEND=comfy       — local ComfyUI at COMFY_URL (e.g. http://127.0.0.1:8188).
+ *   GEN_BACKEND=comfy       — ComfyUI at COMFY_URL (default Mac1 http://192.168.1.133:8188).
  *   GEN_BACKEND=ollama-sd   — Ollama with SD-capable model (not common; mostly LLMs).
  *
  * Stub mode lets us validate the schema + storage + viewer pipeline today
@@ -232,10 +232,10 @@ function genReplicate(prompt, seed, outPath) {
 }
 
 // ---- ComfyUI backend ------------------------------------------------------
-// Submits a SDXL txt2img workflow to ComfyUI at COMFY_URL (default 127.0.0.1:8188).
+// Submits a SDXL txt2img workflow to ComfyUI at COMFY_URL (default Mac1 192.168.1.133:8188).
 // Polls /history/<prompt_id> for the result, then pulls the image bytes.
 function genComfy(prompt, seed, outPath) {
-  const COMFY = process.env.COMFY_URL || 'http://127.0.0.1:8188';
+  const COMFY = process.env.COMFY_URL || 'http://192.168.1.133:8188';
   const MODEL = process.env.COMFY_MODEL || 'sd_xl_base_1.0.safetensors';
   const WIDTH = parseInt(process.env.COMFY_WIDTH || '1024', 10);
   const HEIGHT = parseInt(process.env.COMFY_HEIGHT || '1024', 10);
diff --git a/scripts/refiner_compare.js b/scripts/refiner_compare.js
index f8dcdfc..cca8df8 100644
--- a/scripts/refiner_compare.js
+++ b/scripts/refiner_compare.js
@@ -15,7 +15,7 @@ const path = require('path');
 const { execSync } = require('child_process');
 const { FASHION_PALETTES, paletteString } = require('./fashion_palettes');
 
-const COMFY = process.env.COMFY_URL || 'http://127.0.0.1:8188';
+const COMFY = process.env.COMFY_URL || 'http://192.168.1.133:8188';
 const BASE_MODEL = 'sd_xl_base_1.0.safetensors';
 const REFINER_MODEL = 'sd_xl_refiner_1.0.safetensors';
 const OUT = path.join(__dirname, '..', 'public', 'refiner-compare');
diff --git a/scripts/regen_one.js b/scripts/regen_one.js
index e64d3b4..1ef97a9 100644
--- a/scripts/regen_one.js
+++ b/scripts/regen_one.js
@@ -13,7 +13,7 @@ const path = require('path');
 const { execSync, spawnSync } = require('child_process');
 const { FASHION_PALETTES, paletteString } = require('./fashion_palettes');
 
-const COMFY = process.env.COMFY_URL || 'http://127.0.0.1:8188';
+const COMFY = process.env.COMFY_URL || 'http://192.168.1.133:8188';
 const OUT = path.join(__dirname, '..', 'public', 'refiner-compare', 'redo_1.png');
 const seed = 770000;
 const pal = FASHION_PALETTES[0]; // Hermès
diff --git a/scripts/yolo-tick.sh b/scripts/yolo-tick.sh
index b0a6f2b..09b72cb 100755
--- a/scripts/yolo-tick.sh
+++ b/scripts/yolo-tick.sh
@@ -32,7 +32,7 @@ echo "$N" > "$COUNTER"
 NOW=$(date -u '+%Y-%m-%dT%H:%M:%SZ')
 
 # ── snapshots ──
-COMFY=$(curl -sf -m 2 http://127.0.0.1:8188/queue 2>/dev/null | \
+COMFY=$(curl -sf -m 2 "${COMFY_URL:-http://192.168.1.133:8188}/queue" 2>/dev/null | \
   python3 -c "import sys,json
 try:
   d=json.load(sys.stdin)

← 43ed08a snapshot before ComfyUI redirect to Mac1  ·  back to Wallco Ai  ·  add mkdir-based mutex wrapper for cron ticks (macOS has no f 1d8b4c6 →