mirror of
https://github.com/datarhei/core.git
synced 2025-10-07 08:51:04 +08:00
Disable locally persisting DB in cluster mode
This commit is contained in:
@@ -1179,7 +1179,7 @@ func (a *api) start(ctx context.Context) error {
|
||||
|
||||
var store restreamstore.Store = nil
|
||||
|
||||
{
|
||||
if !cfg.Cluster.Enable {
|
||||
fs, err := fs.NewRootedDiskFilesystem(fs.RootedDiskConfig{
|
||||
Root: cfg.DB.Dir,
|
||||
})
|
||||
|
Reference in New Issue
Block a user