sonda/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 77be31ea4a perf(storage): fix stale match and search keys in batches on PostgreSQL
The refresh at start fixed each stale row with its own UPDATE. On PostgreSQL that
is one round trip per row: 100,000 stale rows took 5.3 s on localhost, and more
over a network. The rows now go 500 at a time in one UPDATE ... FROM (VALUES ...):
1.9 s for the same rows. SQLite keeps one UPDATE per row, which is faster there
(no round trip to save). A run with nothing to fix is unchanged (about 0.1 s per
100,000 rows).

A test with 1,250 stale rows covers more than two batches on both databases.
2026-11-12 14:08:40 +01:00
..
about fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
api fix(docker): keep the secret, quiet health checks, and tighter files 2026-11-12 12:29:38 +01:00
auth fix(auth): reuse the account, quiet aborted requests, more tests 2026-11-11 19:29:39 +01:00
catalog fix(catalog): keep albums apart, align album counts, reject bad search text 2026-11-11 13:47:31 +01:00
config feat(about): artist descriptions from Wikipedia 2026-11-11 21:36:27 +01:00
discover fix(discover): refusals do not wait for a turn, and waiting for one has an end 2026-11-12 12:00:18 +01:00
discovery feat(discover): artists I may like, with a score I can explain 2026-11-11 19:42:09 +01:00
feedback feat(feedback): a wishlist and "not interested" 2026-11-11 20:11:18 +01:00
images fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
jobs fix(jobs): a stop or a panic never wedges a job, a bad download never replaces a good picture 2026-11-12 10:09:46 +01:00
library feat(images): album covers from the Cover Art Archive 2026-11-12 09:09:31 +01:00
listening fix(listening): report a deleted account first and document one event per play 2026-11-11 15:02:28 +01:00
providers fix(lidarr): protect Lidarr from many asks, refuse bad ids, give up when the request does 2026-11-12 11:35:28 +01:00
storage perf(storage): fix stale match and search keys in batches on PostgreSQL 2026-11-12 14:08:40 +01:00
streaming feat(library): named media libraries managed through the API 2026-11-11 13:30:25 +01:00
taste feat(discover): artists I may like, with a score I can explain 2026-11-11 19:42:09 +01:00
usersettings feat(settings): my own settings, starting with Discover from my listening 2026-11-11 19:16:26 +01:00