Skip to content

Commit

Permalink
fix: supabase slowness
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Jul 9, 2024
1 parent 25c8c30 commit 74b6c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/registry/pages/api/resumes.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default async function handler(req, res) {
const { data } = await supabase
.from('resumes')
.select()
.limit(limit || 500)
.order('created_at', { ascending: false });
.limit(limit || 3000);
// .order('created_at', { ascending: false });

const resumes = data.map((row) => {
const resume = JSON.parse(row.resume);
Expand Down

0 comments on commit 74b6c62

Please sign in to comment.