update: reduce rate limit, no longer collect deleted videos for milestone monitoring
This commit is contained in:
parent
2c51c3c09c
commit
5450c17e13
@ -7,6 +7,7 @@ export async function getVideosNearMilestone(client: Client) {
|
||||
FROM latest_video_snapshot ls
|
||||
INNER JOIN
|
||||
songs s ON ls.aid = s.aid
|
||||
AND s.deleted = false
|
||||
WHERE
|
||||
s.deleted = false AND
|
||||
(views >= 90000 AND views < 100000) OR
|
||||
|
@ -334,7 +334,10 @@ const biliLimiterConfig: RateLimiterConfig[] = [
|
||||
];
|
||||
|
||||
const bili_test = biliLimiterConfig;
|
||||
bili_test[3].max = 500
|
||||
bili_test[0].max = 10;
|
||||
bili_test[1].max = 36;
|
||||
bili_test[2].max = 150;
|
||||
bili_test[3].max = 1000;
|
||||
|
||||
/*
|
||||
Execution order for setup:
|
||||
|
Loading…
Reference in New Issue
Block a user