mirror of
https://github.com/outline/outline.git
synced 2026-11-26 07:33:19 +03:00
* fix: Stream attachments in single document exports and stop on disconnect Single document and revision exports read every attachment into memory before building the zip, and kept running after the client had gone. Repeated exports of a document with large attachments ran web dynos out of memory. - Stream attachments into the zip with a shared AttachmentHelper.addToArchive - Abort export work when the client connection closes - Read only images that will be inlined, with a 1MB total inline limit * fix: Destroy streams opened after abort, treat missing local files as absent