mirror of
https://github.com/datarhei/core.git
synced 2025-10-06 16:37:04 +08:00
Add TODO
This commit is contained in:
@@ -1808,6 +1808,7 @@ func (a *api) stop() {
|
||||
if a.memfs != nil {
|
||||
cfg := a.config.store.GetActive()
|
||||
if len(cfg.Storage.Memory.Backup.Dir) != 0 {
|
||||
// TODO: Add option to disable backup on shutdown? Or only if in maintenance mode? Bur how do I know?
|
||||
diskfs, err := fs.NewRootedDiskFilesystem(fs.RootedDiskConfig{
|
||||
Root: cfg.Storage.Memory.Backup.Dir,
|
||||
Logger: logger,
|
||||
|
Reference in New Issue
Block a user