mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
feat(sync): fix errors and cleanup code
Signed-off-by: Vishwas Rajashekar <dev@vrajashkr.com>
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,8 +13,7 @@
|
||||
"extensions": {
|
||||
"sync": {
|
||||
"enable": true,
|
||||
"enableStreaming": true,
|
||||
"streamChunkSizeBytes": 32768,
|
||||
"stream": true,
|
||||
"registries": [
|
||||
{
|
||||
"urls": [
|
||||
|
||||
Reference in New Issue
Block a user