mirror of
https://github.com/mickael-kerjean/filestash
synced 2026-01-03 14:25:15 +01:00
Merge pull request #69 from fngx/hotfix/rename_autovacuum
Fix autovacuum renamed autoVacuum
This commit is contained in:
commit
ad61d1d37d
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ module.exports = {
|
|||
}
|
||||
};
|
||||
|
||||
function autovacuum(){
|
||||
function autoVacuum(){
|
||||
const MAXIMUM_DATE_BEFORE_CLEAN = new Date().getTime() - 1000*60*60*24;
|
||||
for(let repo_path in repos){
|
||||
if(repos[repo_path] > MAXIMUM_DATE_BEFORE_CLEAN){
|
||||
|
|
|
|||
Loading…
Reference in a new issue