mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-19 10:54:08 +01:00
async meta caching: can stream updates now
This commit is contained in:
1 parent
4f02f7121d
commit
e24b25de78
10 files changed
+236
-127
No files matched your search
@@ -14,11 +14,11 @@ type MetaCache struct {
|
||||
|
||||
func NewMetaCache(dbFolder string) *MetaCache {
|
||||
return &MetaCache{
|
||||
FilerStore: OpenMetaStore(dbFolder),
|
||||
FilerStore: openMetaStore(dbFolder),
|
||||
}
|
||||
}
|
||||
|
||||
func OpenMetaStore(dbFolder string) filer2.FilerStore {
|
||||
func openMetaStore(dbFolder string) filer2.FilerStore {
|
||||
|
||||
os.MkdirAll(dbFolder, 0755)
|
||||
|
||||
@@ -31,4 +31,4 @@ func OpenMetaStore(dbFolder string) filer2.FilerStore {
|
||||
|
||||
return store
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user