Skip to content

refactor(telegram): simplify UploadFile logic and unify part handling - #231

Merged
AmarnathCJD merged 1 commit into
AmarnathCJD:masterfrom
ruizlenato:master
Aug 24, 2025
Merged

refactor(telegram): simplify UploadFile logic and unify part handling#231
AmarnathCJD merged 1 commit into
AmarnathCJD:masterfrom
ruizlenato:master

Conversation

@ruizlenato

Copy link
Copy Markdown
Contributor
  • Removed redundant IsFsBig branching and hash initialization
  • Unified small and large file upload loops for clarity
  • Use io.TeeReader for MD5 checksum calculation on small files
  • Streamlined worker pool and retry handling with improved logging
  • Preserved all progress tracking and part uploads for both file sizes

- Removed redundant `IsFsBig` branching and hash initialization
- Unified small and large file upload loops for clarity
- Use `io.TeeReader` for MD5 checksum calculation on small files
- Streamlined worker pool and retry handling with improved logging
- Preserved all progress tracking and part uploads for both file sizes
@AmarnathCJD

Copy link
Copy Markdown
Owner

well okay, if its broken its on uu,

@AmarnathCJD
AmarnathCJD merged commit 2906eb0 into AmarnathCJD:master Aug 24, 2025
1 of 2 checks passed
bunin pushed a commit to bunin/gogram that referenced this pull request Mar 6, 2026
refactor(telegram): simplify UploadFile logic and unify part handling
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