From bdf18b2a004e1385ba3950cfa255037b09acdbd2 Mon Sep 17 00:00:00 2001 From: Kelly Kostopoulou Date: Fri, 12 Jul 2024 21:21:19 +0000 Subject: [PATCH] removed second call of _update_status --- mlos_bench/mlos_bench/storage/sql/trial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mlos_bench/mlos_bench/storage/sql/trial.py b/mlos_bench/mlos_bench/storage/sql/trial.py index 6c2cf26cc7..8d7fe777e3 100644 --- a/mlos_bench/mlos_bench/storage/sql/trial.py +++ b/mlos_bench/mlos_bench/storage/sql/trial.py @@ -135,8 +135,8 @@ def update_telemetry( # and we need to keep `.update_telemetry()` idempotent; hence a loop instead of # a bulk upsert. # See Also: comments in - with self._engine.begin() as conn: - self._update_status(conn, status, timestamp) + # with self._engine.begin() as conn: + # self._update_status(conn, status, timestamp) for metric_ts, key, val in metrics: with self._engine.begin() as conn: try: