Skip to content

Commit 1a7e120

Browse files
retlehsclaude
andcommitted
Reduce R2 upload concurrency to 10
20 concurrent workers triggered R2 rate limiting causing mass retries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 24688d6 commit 1a7e120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/deploy/r2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func SyncToR2(ctx context.Context, cfg config.R2Config, buildDir, buildID, previ
9191
// Upload all files under the release prefix (parallel).
9292
var uploaded, copied atomic.Int64
9393
g, gCtx := errgroup.WithContext(ctx)
94-
g.SetLimit(20)
94+
g.SetLimit(10)
9595

9696
for _, f := range files {
9797
f := f

0 commit comments

Comments
 (0)