fix: adjust the number of videos returned from unlabeled endpoint to 20
This commit is contained in:
parent
ab160eadd2
commit
7a35e30a95
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user