Skip to content

Commit

Permalink
Increase API batch size to 30
Browse files Browse the repository at this point in the history
  • Loading branch information
Poyo-SSB committed Apr 25, 2024
1 parent f51d7c7 commit 631648b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ managing the database currently has no frontend and will require mongodb compass

## github secrets

- `API_SECRET`
- `API_SECRET`: api secret from above!
- `API_UPDATE_URL`: the live endpoint to post to, for manual github actions

## mongo
Expand Down
2 changes: 1 addition & 1 deletion src/routes/api/update/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { API_SECRET, QSTASH_CURRENT_SIGNING_KEY, QSTASH_NEXT_SIGNING_KEY } from

import dbPromise from "$ts/database/database";

const batch_size = 25;
const batch_size = 30;

const qstash = new Receiver({
currentSigningKey: QSTASH_CURRENT_SIGNING_KEY,
Expand Down

1 comment on commit 631648b

@vercel
Copy link

@vercel vercel bot commented on 631648b Apr 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.