Commit 8d16b9c
committed
Stream dataset file for GitHub release upload
Avoid loading the entire archive into memory by using createReadStream instead of readFileSync. This prevents out-of-memory crashes when publishing large datasets on memory-constrained machines.1 parent 6155446 commit 8d16b9c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments