Skip to content

Commit aee40d1

Browse files
committed
make MAX_BLOBS_PER_RUN configurable
1 parent 90a0791 commit aee40d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
DATASETS = os.environ.get("BIGQUERY_DATASET", "").strip().split()
3232
SIMPLE_TABLE = os.environ.get("BIGQUERY_SIMPLE_TABLE")
3333
DOWNLOAD_TABLE = os.environ.get("BIGQUERY_DOWNLOAD_TABLE")
34-
MAX_BLOBS_PER_RUN = 5000 # Cannot exceed 10,000
34+
MAX_BLOBS_PER_RUN = int(os.environ.get("MAX_BLOBS_PER_RUN", '5000')) # Cannot exceed 10,000
3535

3636
prefix = {Simple.__name__: "simple_requests", Download.__name__: "file_downloads"}
3737

0 commit comments

Comments
 (0)