Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
soloseng committed Jul 25, 2023
1 parent f4366bd commit 7f508a9
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export async function getPerformedQueryCount(
accountsTable: ACCOUNTS_TABLE,
account: string,
logger: Logger,
// dbTimeout: number,
trx?: Knex.Transaction
): Promise<number> {
return meter(
Expand All @@ -43,7 +42,6 @@ async function getAccountExists(
accountsTable: ACCOUNTS_TABLE,
account: string,
logger: Logger,
// dbTimeout: number,
trx?: Knex.Transaction
): Promise<boolean> {
return meter(
Expand Down Expand Up @@ -71,7 +69,6 @@ export async function incrementQueryCount(
account: string,
logger: Logger,
trx: Knex.Transaction
// dbTimeout: number
): Promise<void> {
return meter(
async () => {
Expand Down Expand Up @@ -100,7 +97,6 @@ async function insertRecord(
data: AccountRecord,
logger: Logger,
trx: Knex.Transaction
// dbTimeout: number
): Promise<void> {
try {
await accounts(db, accountsTable).transacting(trx).insert(data).timeout(config.db.timeout)
Expand Down

0 comments on commit 7f508a9

Please sign in to comment.