make scrub inline and periodic

Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
This commit is contained in:
Andreea-Lupu
2022-03-04 09:37:06 +02:00
committed by Ramkumar Chinchani
parent ad519e2d3e
commit 9454c77be2
11 changed files with 453 additions and 18 deletions
+3
View File
@@ -41,6 +41,9 @@
"cve": {
"updateInterval": "2h"
}
},
"scrub": {
"interval": "24h"
}
}
}
+18
View File
@@ -0,0 +1,18 @@
{
"distSpecVersion":"1.0.1",
"storage": {
"rootDirectory": "/tmp/zot"
},
"http": {
"address": "127.0.0.1",
"port": "8080"
},
"log": {
"level": "debug"
},
"extensions": {
"scrub": {
"interval": "24h"
}
}
}