Skip to content

Lighter polling to cut production CPU - #228

Merged
apedintensor merged 1 commit into
mainfrom
design/operator-poll
Oct 25, 2026
Merged

apedintensor merged 1 commit into
mainfrom
design/operator-poll

Conversation

@apedintensor

Copy link
Copy Markdown
Member

Production runs on a 2-vCPU host at load ~9.7, and open tabs drive most of the API work.

  • GPU console: polls every 15 s (was 5 s); the ~250 KB catalog refreshes every 5 min instead of on every poll. Hidden tabs were already skipped.
  • Studio tabs (Quick Create, Works, canvas):
    • hidden tabs no longer poll; focus still rechecks the session at once;
    • jobs refresh every 5 s only while a job is active, otherwise every 20 s;
    • /api/auth/me once a minute instead of every 5 s;
    • availability every 30 s instead of 10 s.

Checks: test 880, lint.

🤖 Generated with Claude Code

…kip hidden, 5 s only while jobs run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apedintensor
apedintensor merged commit cffbf8a into main Oct 25, 2026
2 checks passed
apedintensor added a commit to inkseq/h3-studio that referenced this pull request Oct 25, 2026
Syncs inkseq/inkseq-design#228.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant