perf: cache public gallery views

This commit is contained in:
kdletters
2026-05-17 01:19:12 +08:00
parent d9c8473504
commit 81fe3dcf28
39 changed files with 2124 additions and 298 deletions

View File

@@ -414,7 +414,7 @@ impl SpacetimeClient {
Ok(items
.into_iter()
.map(|item| {
let mut record = map_puzzle_work_profile(item.into());
let mut record = map_puzzle_work_profile_row(item);
record.recent_play_count_7d = recent_play_counts
.get(&record.profile_id)
.copied()