Fix slow queries and pagers

This commit is contained in:
claude Bot committed 2026-11-21 18:27:18 +00:00
1 parent ee36958b39
commit ed87cb6018
4 files changed
+41 -13

No files matched your search

+3 -3
View File
@@ -253,7 +253,7 @@ impl SoundCtx for Data {
LIMIT ?, ?",
user_id.into(),
page * 25,
(page + 1) * 25
25u64
)
.fetch_all(&self.database)
.await?
@@ -294,7 +294,7 @@ impl SoundCtx for Data {
LIMIT ?, ?",
user_id.into(),
page * 25,
(page + 1) * 25
25u64
)
.fetch_all(&self.database)
.await?
@@ -335,7 +335,7 @@ impl SoundCtx for Data {
LIMIT ?, ?",
guild_id.into(),
page * 25,
(page + 1) * 25
25u64
)
.fetch_all(&self.database)
.await?