stash/pkg
WithoutPants 0fd7a2ac20
SQL performance improvements (#6378)
* Change queryStruct to use tx.Get instead of queryFunc

Using queryFunc meant that the performance logging was inaccurate due to the query actually being executed during the call to Scan.

* Only add join args if join was added

* Omit joins that are only used for sorting when skipping sorting

Should provide some marginal improvement on systems with a lot of items.

* Make all calls to the database pass context.

This means that long queries can be cancelled by navigating to another page. Previously the query would continue to run, impacting on future queries.
2025-12-08 08:08:31 +11:00
..
exec Fix/ffprobe unmarshalling error (#2685) 2022-06-22 10:49:14 +10:00
ffmpeg [hwaccel] increase timeout, fix formatting (#6328) 2025-11-28 11:47:34 +11:00
file Replace ValueOnlyContext with context.WithoutCancel (#6379) 2025-12-08 07:59:42 +11:00
fsutil Feature: Add trash support (#6237) 2025-11-26 13:38:19 +11:00
gallery Handle modified files where the case of the filename changed on case-insensitive filesystems (#6327) 2025-12-02 12:53:37 +11:00
group Use slices package from the stdlib when possible (#5360) 2024-10-29 11:26:23 +11:00
hash Model refactor (#3915) 2023-09-01 10:39:29 +10:00
image Handle modified files where the case of the filename changed on case-insensitive filesystems (#6327) 2025-12-02 12:53:37 +11:00
javascript Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
job Replace ValueOnlyContext with context.WithoutCancel (#6379) 2025-12-08 07:59:42 +11:00
logger Log errors returned from graphql (#3562) 2023-04-17 15:27:25 +10:00
match Feature: Tag StashID support (#6255) 2025-11-13 14:24:09 +11:00
models Add support for removing custom field keys (#6362) 2025-12-04 07:28:06 +11:00
performer Feature: Support Multiple URLs in Studios (#6223) 2025-11-10 14:34:21 +11:00
pkg Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
plugin [packaging] switch to pnpm (#6186) 2025-11-10 09:17:25 +11:00
python Add package docs and project vision/goals (#5169) 2024-08-28 09:01:39 +10:00
savedfilter Maintain saved filters in full export/import (#5465) 2024-11-12 16:59:28 +11:00
scene Handle modified files where the case of the filename changed on case-insensitive filesystems (#6327) 2025-12-02 12:53:37 +11:00
scraper Refactor scraping to include related object fields (#6266) 2025-12-02 12:49:44 +11:00
session Update tripwire link to direct to the forum (#5885) 2025-06-02 17:07:55 +10:00
sliceutil Bugfix: Add Trimspace to New Objects (#6226) 2025-11-27 07:48:56 +11:00
sqlite SQL performance improvements (#6378) 2025-12-08 08:08:31 +11:00
stashbox Feature: Manual StashId Search - Tags (#6374) 2025-12-04 11:20:29 +11:00
studio Bugfix: Fix empty Aliases Being Created for Studios (#6273) 2025-11-14 11:49:26 +11:00
tag Feature: Tag StashID support (#6255) 2025-11-13 14:24:09 +11:00
txn Database connection pool refactor (#5274) 2024-09-20 12:56:26 +10:00
utils Replace ValueOnlyContext with context.WithoutCancel (#6379) 2025-12-08 07:59:42 +11:00