Skip to content

Commit

Permalink
Unschedule expensive fill operations before first release
Browse files Browse the repository at this point in the history
  • Loading branch information
limdingwen committed Aug 1, 2024
1 parent ad05966 commit d60e7cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions supabase/functions/per-10-min/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ import "https://esm.sh/@supabase/functions-js/src/edge-runtime.d.ts";
import scrapeBillsPdf from "../lib/shared-functions/scrape-bills-pdf.ts";
import generateBillsSummary from "../lib/shared-functions/generate-bills-summary.ts";
import { buildResponse } from "../lib/utils/build-response.ts";
import fillDebateSpeakerIds from "../lib/shared-functions/fill-debate-speaker-ids.ts";
// import fillDebateSpeakerIds from "../lib/shared-functions/fill-debate-speaker-ids.ts";
import generateDebateSummary from "../lib/shared-functions/generate-debate-summary.ts";
// import fillDebateBillIds from "../lib/shared-functions/fill-debate-bill-ids.ts";

Deno.serve(async (req) => {
return buildResponse([
await fillDebateSpeakerIds(req),
// await fillDebateSpeakerIds(req),
// await fillDebateBillIds(req),
await scrapeBillsPdf(req),
await generateBillsSummary(req),
await generateDebateSummary(req),
Expand Down

0 comments on commit d60e7cd

Please sign in to comment.