Disable locally persisting DB in cluster mode

This commit is contained in:
Ingo Oppermann
2024-07-16 14:01:31 +02:00
parent 3d78122053
commit 96f7d8030c
2 changed files with 25 additions and 11 deletions

View File

@@ -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,
})