Skip to content

Commit ba6adad

Browse files
committed
No batching/backfilling
1 parent d28763d commit ba6adad

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

main.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,4 @@ async function generate(daysAgoToEnd, daysToGenerate) {
199199
}
200200
}
201201

202-
async function backfill() {
203-
const DAYS_TO_BACKFILL = 360;
204-
const BATCH_SIZE = 360;
205-
206-
let overallDay = DAYS_TO_BACKFILL;
207-
while (overallDay > 0) {
208-
console.log(overallDay);
209-
overallDay -= BATCH_SIZE;
210-
await generate(overallDay, BATCH_SIZE);
211-
}
212-
}
213-
214-
backfill().catch(e => console.log(e));
202+
generate(0, 360).catch(e => console.log(e));

0 commit comments

Comments
 (0)