Skip to content

Conversation

@rickyrombo
Copy link
Contributor

No description provided.

Base automatically changed from mjp-custom-http-client to main January 14, 2026 17:57
Copy link
Contributor

@raymondjacobson raymondjacobson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good, one high level comment.
not 100% sure what the benefit is of having tus do server-server replication, but i dont see it hurting either

return fmt.Errorf("failed to create TUS request: %w", err)
}

createReq.Header.Set("Tus-Resumable", "1.0.0")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's this version from? maybe we can lift it from version.go?

}
// Handle image uploads immediately with synchronous replication
if upload.Template == JobTemplateImgSquare || upload.Template == JobTemplateImgBackdrop {
upload.Mirrors, err = ss.replicateFileParallel(ctx, formFileCID, filePath, upload.PlacementHosts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not handle all replication async?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree. unclear why the AI did this

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.

4 participants