[object Object]

← back to Wallco Ai

daemons: max-it mode — default cadence 240s → 90s

ed965df2ed8900d319397faa49c1c16ee5a77a96 · 2026-05-13 08:54:23 -0700 · SteveStudio2

Steve said 'max it'. Both daemons drop tick interval to 90 seconds
(was 4 min). Combined with 2 daemons firing in parallel:

  drunk-animals + stoned-animals = ~80 designs/hour sustained

40+40 immediate backfill batches launched in parallel — ~10 min wall
clock for the burst, then daemons hold ~80/hr indefinitely. Replicate
cost ~$1.10/hr at this rate (~$26/day if left running 24h).

pm2 dump saved so the new TICK_MS=90000 default survives reboots.

Files touched

Diff

commit ed965df2ed8900d319397faa49c1c16ee5a77a96
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Wed May 13 08:54:23 2026 -0700

    daemons: max-it mode — default cadence 240s → 90s
    
    Steve said 'max it'. Both daemons drop tick interval to 90 seconds
    (was 4 min). Combined with 2 daemons firing in parallel:
    
      drunk-animals + stoned-animals = ~80 designs/hour sustained
    
    40+40 immediate backfill batches launched in parallel — ~10 min wall
    clock for the burst, then daemons hold ~80/hr indefinitely. Replicate
    cost ~$1.10/hr at this rate (~$26/day if left running 24h).
    
    pm2 dump saved so the new TICK_MS=90000 default survives reboots.
---
 scripts/drunk_animals_daemon.js  | 2 +-
 scripts/stoned_animals_daemon.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/drunk_animals_daemon.js b/scripts/drunk_animals_daemon.js
index c31ad85..443127d 100644
--- a/scripts/drunk_animals_daemon.js
+++ b/scripts/drunk_animals_daemon.js
@@ -14,7 +14,7 @@
 const { spawn, execSync } = require('child_process');
 const path = require('path');
 
-const TICK_MS    = parseInt(process.env.TICK_MS || '240000', 10);   // 4 min
+const TICK_MS    = parseInt(process.env.TICK_MS || '90000', 10);   // 90s default (max-it mode)
 const STOP_HOUR  = parseInt(process.env.STOP_HOUR || '6', 10);
 const ROOT       = path.join(__dirname, '..');
 const TICK_SCRIPT = path.join(__dirname, 'drunk_animals_tick.js');
diff --git a/scripts/stoned_animals_daemon.js b/scripts/stoned_animals_daemon.js
index 2e0af74..82797df 100644
--- a/scripts/stoned_animals_daemon.js
+++ b/scripts/stoned_animals_daemon.js
@@ -14,7 +14,7 @@
 const { spawn, execSync } = require('child_process');
 const path = require('path');
 
-const TICK_MS    = parseInt(process.env.TICK_MS || '240000', 10);
+const TICK_MS    = parseInt(process.env.TICK_MS || '90000', 10);   // 90s default (max-it mode)
 const STOP_HOUR  = parseInt(process.env.STOP_HOUR || '6', 10);
 const ROOT       = path.join(__dirname, '..');
 const TICK_SCRIPT = path.join(__dirname, 'stoned_animals_tick.js');

← 65dcd74 /designs: infinite scroll, replace pagination links  ·  back to Wallco Ai  ·  snapshot: 4 file(s) changed, +1 new, ~3 modified 9ccfd72 →