diff --git a/lib/db/snapshotSchedule.ts b/lib/db/snapshotSchedule.ts index 9c64d1d..ba288a4 100644 --- a/lib/db/snapshotSchedule.ts +++ b/lib/db/snapshotSchedule.ts @@ -272,7 +272,7 @@ export async function getSnapshotsInNextSecond(client: Client) { ELSE 1 END, started_at - LIMIT 10; + LIMIT 100; `; const res = await client.queryObject(query, []); return res.rows; diff --git a/lib/mq/scheduler.ts b/lib/mq/scheduler.ts index 798a249..6722519 100644 --- a/lib/mq/scheduler.ts +++ b/lib/mq/scheduler.ts @@ -340,9 +340,9 @@ bili_test[2].max = 150; bili_test[3].max = 1000; const bili_strict = [...biliLimiterConfig]; -bili_strict[0].max = 4; -bili_strict[1].max = 8; -bili_strict[2].max = 30; +bili_strict[0].max = 1; +bili_strict[1].max = 4; +bili_strict[2].max = 12; bili_strict[3].max = 100; /*