Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent /Temp filling up with temporary files #474

Open
wants to merge 1 commit into
base: u64ii
Choose a base branch
from

Conversation

Gee-64
Copy link
Contributor

@Gee-64 Gee-64 commented Feb 24, 2025

NOTE: Replaces PR #451 which was accidentally closed.

Limits number of temporary files from the HTTP API as well as from the Assembly64 integration. House keeping retains at least 2 files, but may go up to 16 files or 1MB of total size, whichever is reached first. Older files are deleted before newer. The limits are counted separately for API files and Assemby64 files.

Temporary filenames were changed to have a slightly nicer (?) names and start numbering at 1 instead of 0 since this is (arguably) more intuitive to the user.

Also fixes a tiny typo in a comment.

This solves issue #435.

Limits number of temporary files from the HTTP API as well as from the
Assembly64 integration. House keeping retains at least 2 files, but may go up
to 16 files or 1MB of total size, whichever is reached first. Older files are
deleted before newer. The limits are counted separately for API files and
Assemby64 files.

Temporary filenames were changed to have a slightly nicer (?) names and start
numbering at 1 instead of 0 since this is (arguably) more intuitive to the
user.

Also fixes a tiny typo in a comment.
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.

1 participant