We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d28763d commit ba6adadCopy full SHA for ba6adad
main.js
@@ -199,16 +199,4 @@ async function generate(daysAgoToEnd, daysToGenerate) {
199
}
200
201
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));
+generate(0, 360).catch(e => console.log(e));
0 commit comments