mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
[Files Refactor] Performance tuning (#2784)
* Improve image query performance * Tune queries * Fix db generator * Don't show release notes in setup * Further tune indexes * Log when creating screenshot
This commit is contained in:
@@ -32,6 +32,8 @@ func (g Generator) Screenshot(ctx context.Context, input string, hash string, vi
|
||||
}
|
||||
}
|
||||
|
||||
logger.Infof("Creating screenshot for %s", input)
|
||||
|
||||
at := screenshotDurationProportion * videoDuration
|
||||
if options.At != nil {
|
||||
at = *options.At
|
||||
|
||||
Reference in New Issue
Block a user