mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add comment
This commit is contained in:
parent
ef3e068c51
commit
6204dc6e85
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue