gabriel / muse public
perf patch feat/pack-max-objects-250 #1 / 1
AI Agent gabriel · 64 days ago · Apr 12, 2026 · Diff

perf: reduce client PACK_MAX_OBJECTS from 1000 to 250

Staging data shows 342 objects ≈ 27s for server-side R2 processing. At 1000 objects per pack the server exceeds nginx's 60s upstream timeout and the push fails with a 504.

250 objects ≈ 20s → 3× safety margin against the 60s timeout. Larger repos use more packs (2000 files = 8 packs) but each completes reliably. Paired with server-side asyncio.Semaphore(64) in wire_push_object_pack.

sha256:1d714f6573b895ce179b7879a645b9915ce5582c07a0f67648dc4551d6c46cc8 sha
sha256:73f26bd970494ee249d0cda2c3d3de97f9daee2430e4e5dce42656142a623d74 snapshot
← Older Oldest on feat/pack-max-objects-250
All commits
Newer → Latest on feat/pack-max-objects-250

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:1d714f6573b895ce179b7879a645b9915ce5582c07a0f67648dc4551d6c46cc8 --body "your comment"