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

Limit autosave #1126

Merged
merged 3 commits into from Sep 3, 2015
Merged

Limit autosave #1126

merged 3 commits into from Sep 3, 2015

Conversation

rexissimus
Copy link
Member

Autosaves are generated every 2 minutes and can potentially fill up the disk over time. This patch limits the autosaves to between 30-60 (1-2 h). Is this reasonable?

Ported from UV-CDAT

Should go into v2.2

When number of autosaves reaches 60 (2h) the oldest 30 (1h) will be removed
@remram44
Copy link
Member

remram44 commented Sep 2, 2015

Since vistrail files only grow, it is probably only useful to keep one. The previous autosave can be deleted as soon as a new one is done.

The new one is written before deleting the old one
@rexissimus
Copy link
Member Author

Okay. Now only a single autosave is kept.

remram44 added a commit that referenced this pull request Sep 3, 2015
@remram44 remram44 merged commit ae22e76 into master Sep 3, 2015
@rexissimus rexissimus deleted the limit_autosave branch September 9, 2015 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants