mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Export performance optimization (#475)
* recreate metadata path if needed, before exporting data
This commit is contained in:
@@ -154,10 +154,6 @@ func (s *singleton) RefreshConfig() {
|
||||
_ = utils.EnsureDir(s.Paths.Generated.Markers)
|
||||
_ = utils.EnsureDir(s.Paths.Generated.Transcodes)
|
||||
|
||||
_ = utils.EnsureDir(s.Paths.JSON.Performers)
|
||||
_ = utils.EnsureDir(s.Paths.JSON.Scenes)
|
||||
_ = utils.EnsureDir(s.Paths.JSON.Galleries)
|
||||
_ = utils.EnsureDir(s.Paths.JSON.Studios)
|
||||
_ = utils.EnsureDir(s.Paths.JSON.Movies)
|
||||
paths.EnsureJSONDirs()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user