add comment
This commit is contained in:
@@ -115,6 +115,7 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
|
|||||||
v.SetDefault("filer.options.buckets_folder", "/buckets")
|
v.SetDefault("filer.options.buckets_folder", "/buckets")
|
||||||
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")
|
fs.filer.DirBucketsPath = v.GetString("filer.options.buckets_folder")
|
||||||
// TODO deprecated, will be be removed after 2020-12-31
|
// TODO deprecated, will be be removed after 2020-12-31
|
||||||
|
// replaced by https://github.com/chrislusf/seaweedfs/wiki/Path-Specific-Configuration
|
||||||
fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")
|
fs.filer.FsyncBuckets = v.GetStringSlice("filer.options.buckets_fsync")
|
||||||
fs.filer.LoadConfiguration(v)
|
fs.filer.LoadConfiguration(v)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user