diff --git a/lib/db/snapshot.ts b/lib/db/snapshot.ts index c160d79..726bfc5 100644 --- a/lib/db/snapshot.ts +++ b/lib/db/snapshot.ts @@ -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 diff --git a/lib/mq/scheduler.ts b/lib/mq/scheduler.ts index ac09c2a..c31d8ef 100644 --- a/lib/mq/scheduler.ts +++ b/lib/mq/scheduler.ts @@ -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: