FeatureFuel
10

Cleanup of temporary files after exports have been processed/uploaded

Source: outline/outline#5450 · opened by @soulchild
My understanding is that before any exports are uploaded to S3, the ZIP archives are written to the /tmp directory.

Unfortunately, the temporary files are never explicitly cleaned up which might potentially lead to disk space issues. IMHO leaving this to the OS is not optimal, because tmp cleanup only happens when rebooting the machine/VM - or restarting the Docker container in our case.

I tracked down the export functionality to this [code path]( It should be easy to delete the temporary file returned by this.export() once the S3 upload succeeds. Would you be interested in a PR to address this? Cheers!

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests