mirror of https://github.com/perkeep/perkeep.git
Merge "genconfig: use same packed-ness for cache as blobs."
This commit is contained in:
commit
4346056b73
|
@ -447,7 +447,7 @@ func genLowLevelPrefixes(params *configPrefixesParams, ownerName string) (m json
|
||||||
}
|
}
|
||||||
|
|
||||||
m["/cache/"] = map[string]interface{}{
|
m["/cache/"] = map[string]interface{}{
|
||||||
"handler": "storage-filesystem",
|
"handler": "storage-" + storageType,
|
||||||
"handlerArgs": map[string]interface{}{
|
"handlerArgs": map[string]interface{}{
|
||||||
"path": filepath.Join(params.blobPath, "/cache"),
|
"path": filepath.Join(params.blobPath, "/cache"),
|
||||||
},
|
},
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/cache/": {
|
"/cache/": {
|
||||||
"handler": "storage-filesystem",
|
"handler": "storage-diskpacked",
|
||||||
"handlerArgs": {
|
"handlerArgs": {
|
||||||
"path": "/tmp/blobs/cache"
|
"path": "/tmp/blobs/cache"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue