feat: add S3 file storage support (#1688)

This commit is contained in:
Weijie Zhao
2025-11-06 15:37:04 +08:00
committed by GitHub
parent 08525bcb4b
commit bc1368abcc
10 changed files with 505 additions and 9 deletions

View File

@@ -110,7 +110,10 @@ func Restore(filename string) error {
// Init the configFile again since the restored configuration is most likely different from the one before
initialize.LightInit()
initialize.InitEngines()
files.InitFileHandler()
err = files.InitFileHandler()
if err != nil {
return fmt.Errorf("could not init file handler: %w", err)
}
///////
// Restore the db