This commit is contained in:
Sandro Fuetsch Titan
2026-05-26 21:46:44 +02:00
parent cd9953a123
commit 8ab2f1b87f
2 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -32,11 +32,11 @@ class BaseStrategy:
start = time.time() start = time.time()
self.cursor.execute(query) self.cursor.execute(query)
end = time.time() end = time.time()
self._print_result(strategy, end, start) self._print_result(query_name, prefix, end, start)
self.connection.commit() self.connection.commit()
def _print_result(self, strategy, end, start): def _print_result(self, query_name, prefix, end, start):
duration = end - start duration = end - start
minutes = int(duration // 60) minutes = int(duration // 60)
seconds = duration % 60 seconds = duration % 60
BIN
View File
Binary file not shown.