feat(sync): fix errors and cleanup code

Signed-off-by: Vishwas Rajashekar <dev@vrajashkr.com>
This commit is contained in:
Vishwas Rajashekar
2026-05-16 20:04:21 +05:30
parent 2fb691cd3b
commit 3adf36a6c7
10 changed files with 58 additions and 88 deletions
-31
View File
@@ -1,31 +0,0 @@
{
"distSpecVersion": "1.1.1",
"storage": {
"rootDirectory": "./temp/zot"
},
"http": {
"address": "127.0.0.1",
"port": "8080"
},
"log": {
"level": "debug"
},
"extensions": {
"sync": {
"enable": true,
"enableStream": true,
"registries": [
{
"urls": [
"http://localhost:9000"
],
"onDemand": true,
"tlsVerify": false,
"maxRetries": 5,
"retryDelay": "30s",
"syncTimeout": "10m"
}
]
}
}
}
+1 -2
View File
@@ -13,8 +13,7 @@
"extensions": {
"sync": {
"enable": true,
"enableStreaming": true,
"streamChunkSizeBytes": 32768,
"stream": true,
"registries": [
{
"urls": [