Skip to content

Commit

Permalink
Adds logging for the transaction count
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
  • Loading branch information
konstantinabl committed Oct 23, 2024
1 parent a5398db commit 6058832
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/relay/src/lib/services/hapiService/hapiService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export default class HAPIService {
}

this.transactionCount--;
this.logger.info(`Transaction count for sdk client, ${this.transactionCount}`);
if (this.transactionCount <= 0) {
this.shouldReset = true;
}
Expand Down

0 comments on commit 6058832

Please sign in to comment.