Skip to content

Conversation

@ptpt
Copy link
Member

@ptpt ptpt commented Aug 4, 2025

A Upload service session has a short TTL. If you upload to the same session (i.e. rupload.facebook.com/session) after TTL, then the offset will be reset to 0.

Sessions are short but file handles can be valid for 4 days long. So we cache those file handle per session key or 2 days, thus solve the offset-reset issues.

@meta-cla meta-cla bot added the cla signed label Aug 4, 2025
@ptpt ptpt merged commit 6152055 into main Aug 4, 2025
17 checks passed
@ptpt ptpt deleted the fix-upload-reset branch August 4, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants