Skip to content

Commit dc15233

Browse files
authored
Update inserter.ts
1 parent 62dfd9b commit dc15233

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

svc/inserter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ await runInLoop(async function insert() {
1919
return;
2020
}
2121
// Check if we should do rating (if queue isn't long)
22-
const threshold = 5000;
22+
const threshold = 2000;
2323
const cappedCount = await db.raw(
2424
`SELECT COUNT(*) FROM (SELECT 1 FROM queue WHERE type = 'gcdata' LIMIT ?) subquery;`,
2525
[threshold],

0 commit comments

Comments
 (0)