Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { GET } from './route';

const mockEmitScheduledJobEvent = jest.mocked(emitScheduledJobEvent);

const BATCH_SIZE = 1_000;
const BATCH_SIZE = 10_000;

function daysAgo(days: number): string {
const date = new Date();
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/api/cron/cleanup-api-request-log/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { asc, inArray, lt } from 'drizzle-orm';
import { CRON_SECRET } from '@/lib/config.server';

const RETENTION_DAYS = 7;
const BATCH_SIZE = 1_000;
const BATCH_SIZE = 10_000;

function getDaysAgo(days: number) {
const date = new Date();
Expand Down