Skip to content

Optimize Pulp upload: exponential backoff, reuse SHA256, fix size threshold#178

Merged
anfimovdm merged 1 commit intomasterfrom
feat-optimize-upload
Mar 5, 2026
Merged

Optimize Pulp upload: exponential backoff, reuse SHA256, fix size threshold#178
anfimovdm merged 1 commit intomasterfrom
feat-optimize-upload

Conversation

@andrewlukoshko
Copy link
Copy Markdown
Member

  • Use exponential backoff (0.3s..5s) for task polling instead of flat 5s sleep
  • Reuse pre-computed SHA256 in _commit_upload instead of hashing the file twice
  • Fix DEFAULT_PARALLEL_FILE_UPLOAD_SIZE to 524288000 (500 MB) instead of 52428800 (50 MB)

…eshold

- Use exponential backoff (0.3s..5s) for task polling instead of flat 5s sleep
- Reuse pre-computed SHA256 in _commit_upload instead of hashing the file twice
- Fix DEFAULT_PARALLEL_FILE_UPLOAD_SIZE to 524288000 (500 MB) instead of 52428800 (50 MB)
@anfimovdm anfimovdm merged commit 4bb3107 into master Mar 5, 2026
1 of 3 checks passed
@anfimovdm anfimovdm deleted the feat-optimize-upload branch March 5, 2026 13:19
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.

2 participants