Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-2392

optimize UploadFileRestlet by persisting the blob instead of saving it twice

    XMLWordPrintable

    Details

      Description

      Instead of saving the document twice (once before mimetype sniffing and once after) to avoid stream exhaustion problems, call the Blob.persist() once at the beginning.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmartins Thierry Martins
                Reporter:
                tmartins Thierry Martins
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified