Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Use small dataset for prod #6

Merged
merged 1 commit into from
Aug 14, 2024
Merged
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
5 changes: 4 additions & 1 deletion infra/src/populate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import csvParser from 'csv-parser';
// Yes, if the CSV file changes,
// on the next pulumi up,
// the Workers KV will be updated accordingly
const csv = (pulumi.getStack() === "prod") ? '../data/prod.csv' : '../data/sample.csv';
// const csv = (pulumi.getStack() === "prod") ? '../data/prod.csv' : '../data/sample.csv';

// using the smaller dataset for long-term costs savings
const csv = '../data/sample.csv';

let count = 0;
export function populateDatabase(nsId: pulumi.Output<string>, aId: string) {
Expand Down
Loading