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

Refactor and add log cleaner #11

Merged
merged 14 commits into from
Mar 19, 2024
Merged

Refactor and add log cleaner #11

merged 14 commits into from
Mar 19, 2024

Conversation

rmens
Copy link
Contributor

@rmens rmens commented Mar 17, 2024

The script was getting so messy. Let's refactor it a bit.

Also add a log cleaner that removes logs after 7 days. The 30 days hardcoded in MicroMPX is too much for a RAM disk.

@rmens
Copy link
Contributor Author

rmens commented Mar 17, 2024

Check what MicroMPX does when the disk is full.

Maybe add a "RAM disk emergency clean" procedure when it's 90% full that deletes files older than one day?

@rmens rmens merged commit 77aa1e0 into main Mar 19, 2024
1 check passed
@rmens rmens deleted the logcleaner branch March 19, 2024 13:15
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