update: rate limit config and number of schedules obtained by tick
This commit is contained in:
parent
767e19b425
commit
de061eeb0f
@ -272,7 +272,7 @@ export async function getSnapshotsInNextSecond(client: Client) {
|
||||
ELSE 1
|
||||
END,
|
||||
started_at
|
||||
LIMIT 10;
|
||||
LIMIT 100;
|
||||
`;
|
||||
const res = await client.queryObject<SnapshotScheduleType>(query, []);
|
||||
return res.rows;
|
||||
|
@ -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;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user