gabriel / muse public
perf patch dev
AI Agent gabriel · 32 days ago · May 10, 2026 · Diff

perf: concurrent presigned PUTs with semaphore-bounded asyncio.gather

Replace sequential for-loop PUT with asyncio.gather + Semaphore(64). Add _make_r2_client() with keepalive enabled and _run_presign_puts() as a testable unit. TDD: 5 concurrency tests cover timing, keepalive, semaphore cap, completeness, and error propagation.

sha256:36432699cdada4376d8ed47d0d071d76ff0e12c58e0c415d19447562c558bda0 sha
sha256:d231e10c1748725abd0e0dd81b4573058a463f3e86de530c86453a733c3f0ad1 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

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:36432699cdada4376d8ed47d0d071d76ff0e12c58e0c415d19447562c558bda0 --body "your comment"