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

Modify or disable nodePrint auto-cleanup #272

Open
Miniland1333 opened this issue May 10, 2023 · 0 comments
Open

Modify or disable nodePrint auto-cleanup #272

Miniland1333 opened this issue May 10, 2023 · 0 comments

Comments

@Miniland1333
Copy link
Member

findRemoveSync('./PDF', {
age: {seconds: maxAge * 8.64e+4},
// dir: "*",
files: "*.*",
});

Since nodePrint refresh is now operating less frequently than it was initially designed for, I would suggest reviewing whether the maxAge should be increased or perhaps this chunk of code should be completely disabled.

Initially, the code was supposed to do a full refresh every month (30 days), and this forced cleanup would only happen on files that exceeded 100 days or three failed full refreshes. Under the current batch schedule, perhaps maxAge should be increased closer to six months.

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

No branches or pull requests

1 participant