update: increase limit of getBulkSnapshotsInNextSecond
This commit is contained in:
parent
49098763f1
commit
6a7f246562
@ -275,7 +275,7 @@ export async function getBulkSnapshotsInNextSecond(client: Client) {
|
||||
FROM snapshot_schedule
|
||||
WHERE started_at <= NOW() + INTERVAL '15 seconds' AND status = 'pending' AND type = 'normal'
|
||||
ORDER BY started_at
|
||||
LIMIT 100;
|
||||
LIMIT 1000;
|
||||
`;
|
||||
const res = await client.queryObject<SnapshotScheduleType>(query, []);
|
||||
return res.rows;
|
||||
|
Loading…
Reference in New Issue
Block a user