Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 1298818

Browse files
committed
fix: update bucket map to use environment variables for default values
1 parent 4a94ed6 commit 1298818

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/perf/microbenchmarks/reads/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def _get_params() -> Dict[str, List[ReadParameters]]:
4444
rounds = common_params["rounds"]
4545

4646
bucket_map = {
47-
"zonal": config["defaults"]["DEFAULT_RAPID_ZONAL_BUCKET"],
48-
"regional": config["defaults"]["DEFAULT_STANDARD_BUCKET"],
47+
"zonal": os.environ.get("DEFAULT_RAPID_ZONAL_BUCKET", config['defaults']['DEFAULT_RAPID_ZONAL_BUCKET']),
48+
"regional": os.environ.get("DEFAULT_STANDARD_BUCKET", config['defaults']['DEFAULT_STANDARD_BUCKET'])
4949
}
5050

5151
for workload in config["workload"]:

0 commit comments

Comments
 (0)