Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Dec 13, 2024
1 parent 4ad5435 commit 0fbfbff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added src/.pg_client.py.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion src/pg_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_solver_rewards(
# Here, we use the convention that we run the prod query for the first connection
# and the barn query to all other connections
log.info("Checking statement timeout")
_res = self.exec_query(query=text("SHOW statement_timeout;")).scalar()
_res = self.exec_query(query=text("SHOW statement_timeout;"), engine=self.connections[0]).scalar()
log.info(f"Statement timeout for database is: {_res}")
log.info("Running prod query for first connection (in get_solver_rewards)")
results.append(
Expand Down

0 comments on commit 0fbfbff

Please sign in to comment.