1
0

update: the amount of videos fetched from

This commit is contained in:
alikia2x (寒寒) 2025-12-02 10:21:13 +08:00 committed by GitHub
parent 17004f47c7
commit ab160eadd2
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 20
LIMIT 6
) 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 20
LIMIT 6
)
) bm
JOIN latest_video_snapshot ls