Spaces:
Sleeping
Sleeping
PERDYPTO commited on
Update pipeline.py
Browse files- pipeline.py +2 -2
pipeline.py
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
# /status -> more detailed per‑task progress
|
| 16 |
# ============================================================
|
| 17 |
|
| 18 |
-
import
|
| 19 |
import sys
|
| 20 |
import json
|
| 21 |
import time
|
|
@@ -79,7 +79,7 @@ AST_ACCEPT_MODE = "ANY"
|
|
| 79 |
MAX_WORKERS = 2
|
| 80 |
|
| 81 |
# Shard size (number of records per uploaded file)
|
| 82 |
-
SHARD_ROWS =
|
| 83 |
|
| 84 |
# Checkpoint frequency (in source records)
|
| 85 |
CHECKPOINT_EVERY = 5_000
|
|
|
|
| 15 |
# /status -> more detailed per‑task progress
|
| 16 |
# ============================================================
|
| 17 |
|
| 18 |
+
import os
|
| 19 |
import sys
|
| 20 |
import json
|
| 21 |
import time
|
|
|
|
| 79 |
MAX_WORKERS = 2
|
| 80 |
|
| 81 |
# Shard size (number of records per uploaded file)
|
| 82 |
+
SHARD_ROWS = 50_000
|
| 83 |
|
| 84 |
# Checkpoint frequency (in source records)
|
| 85 |
CHECKPOINT_EVERY = 5_000
|