mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
[Files Refactor] Performance tuning (#2819)
* Load scene relationships on demand * Load image relationships on demand * Load gallery relationships on demand * Add dataloaden * Use dataloaders * Use where in for other find many functions
This commit is contained in:
@@ -19,7 +19,7 @@ type NameFinderCreatorUpdater interface {
|
||||
UpdateFull(ctx context.Context, updatedPerformer models.Performer) (*models.Performer, error)
|
||||
UpdateTags(ctx context.Context, performerID int, tagIDs []int) error
|
||||
UpdateImage(ctx context.Context, performerID int, image []byte) error
|
||||
UpdateStashIDs(ctx context.Context, performerID int, stashIDs []*models.StashID) error
|
||||
UpdateStashIDs(ctx context.Context, performerID int, stashIDs []models.StashID) error
|
||||
}
|
||||
|
||||
type Importer struct {
|
||||
|
||||
Reference in New Issue
Block a user