1
0

fix: adjust the number of videos returned from unlabeled endpoint to 20

This commit is contained in:
alikia2x (寒寒) 2025-12-02 18:48:16 +08:00 committed by GitHub
parent ab160eadd2
commit 7a35e30a95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ export const getUnlabelledVideos = new Elysia({ prefix: "/videos" }).use(require
FROM bilibili_metadata
TABLESAMPLE SYSTEM (0.1)
ORDER BY RANDOM()
LIMIT 6
LIMIT 10
) bm
JOIN latest_video_snapshot ls
ON ls.aid = bm.aid
@ -46,7 +46,7 @@ export const getUnlabelledVideos = new Elysia({ prefix: "/videos" }).use(require
TABLESAMPLE SYSTEM (10)
WHERE user != ${user!.unqId}
ORDER BY RANDOM()
LIMIT 6
LIMIT 10
)
) bm
JOIN latest_video_snapshot ls