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

forensic haven cleanup #309

Merged
merged 4 commits into from
Jun 28, 2016
Merged

forensic haven cleanup #309

merged 4 commits into from
Jun 28, 2016

Conversation

jerryblakley
Copy link
Contributor

When there is an error writing a file, it gets added to the forensic haven. With this commit, whenever this happens, cleanup old files. Currently by default, no more than 8 files will be left in the forensic haven, and none older than 64 hours.

The function 'clear_files' is roughly the previous function 'cleanup_orphans' with some changes but moved to a different position in the file. 'cleanup_orphans' was called only in the context of the filecache_cleanup called whenever a binding restarts; now it is also called in the context of forensic haven.

@jerryblakley jerryblakley merged commit d66f965 into dev Jun 28, 2016
@jerryblakley jerryblakley deleted the dev-forensic-haven branch June 28, 2016 21:43
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