Skip to content

fix(pdf-quality): bump CLEANUP_TIMEOUT default to 1500s#237

Merged
mrviduus merged 1 commit into
mainfrom
fix/cleanup-timeout-1500
May 22, 2026
Merged

fix(pdf-quality): bump CLEANUP_TIMEOUT default to 1500s#237
mrviduus merged 1 commit into
mainfrom
fix/cleanup-timeout-1500

Conversation

@mrviduus
Copy link
Copy Markdown
Owner

Summary

Prod re-run after PR #236 confirmed Phase 3 works end-to-end. Numbers:

  • 16k-word chapter cleaned in 9m39s — fit 900s ✓
  • 19.8k-word chapter timed out at 900s exactly — needed more

20k-word chapters are realistic (tech book outliers). 1500s gives a safe
ceiling; outliers can still be raised via the CLEANUP_TIMEOUT env var.

Changes

  • infra/scripts/quality-poll.sh — default 900 → 1500.
  • .env.example — doc updated.

Tests

bash -n clean. Follow-up to #235/#236; feature is still flag-gated.

🤖 Generated with Claude Code

Prod re-run: 16k-word chapter cleaned in 9m39s (fit 900s), but the 19.8k
chapter (a tech book's biggest) timed out at exactly 900s. 1500s covers
the realistic upper bound; outliers still tunable via env.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mrviduus mrviduus merged commit 2dcb00c into main May 22, 2026
5 checks passed
@mrviduus mrviduus deleted the fix/cleanup-timeout-1500 branch May 22, 2026 22:50
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