Skip to content

Commit

Permalink
feat: Changed missed variables
Browse files Browse the repository at this point in the history
Signed-off-by: carlos.vdr <[email protected]>
  • Loading branch information
carlosvdr committed Jul 27, 2023
1 parent 473adf9 commit 10f23e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoagora/logs_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class MRQ_Info:

def __init__(self, pgpool: asyncpg.Pool) -> None:
self.pgpool = pgpool
self.datetime = datetime.now()
self.timestamp = datetime.now()

async def create_mrq_log_table(self) -> None:
async with self.pgpool.acquire() as connection:
Expand Down Expand Up @@ -93,7 +93,7 @@ async def get_most_frequent_queries_null_time(
query=self.return_query_body(row[1])
if self.return_query_body(row[1])
else "null",
datetime=self.datetime,
timestamp=self.timestamp,
)
for row in rows
]
Expand Down

0 comments on commit 10f23e7

Please sign in to comment.