Skip to content

Commit

Permalink
Treat missing timeout correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
perdelt committed Sep 21, 2021
1 parent 5de062d commit 043f1ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dbmsbenchmarker/benchmarker.py
Expand Up @@ -969,7 +969,8 @@ def runBenchmark(self, numQuery, connectionname):
numProcesses = connectionmanagement['numProcesses']#self.numProcesses
batchsize = connectionmanagement['runsPerConnection']#self.runsPerConnection
timeout = connectionmanagement['timeout']#self.timeout
jaydebeapi.QUERY_TIMEOUT = timeout
if timeout is not None:
jaydebeapi.QUERY_TIMEOUT = timeout
singleConnection = connectionmanagement['singleConnection']
# Patch: if singleConnection only with single process
if singleConnection:
Expand Down

0 comments on commit 043f1ab

Please sign in to comment.