Skip to content

In RestoreSnapshotJob, stream photo upload without reading into memory first #26

@todo

Description

@todo

# @todo patch this so the photo doesn't have to be read into memory
photo.image.attach(io: StringIO.new(io.read), filename: photo_filename)
photo.update_columns(updated_at: orig_updated_at)
end
# @todo This needs to handle attachments too


This issue was generated by todo based on a todo comment in bffd4d3. It's been assigned to @mrysav because they committed the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrubyPull requests that update Ruby codetodo 🗒️

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions