Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
LucianBuzzo committed Oct 31, 2024
1 parent c5a74b8 commit 6c56536
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ export const createClient = (
// Set default options
const { txMaxWait = 30000, txTimeout = 30000 } = options;

// @ts-ignore
(prisma as any)._requestHandler.batchBy = (n) => {
console.log("batch by yates id?", n.transaction?.yates_id);
console.log("pq", getBatchId(n.protocolQuery));
Expand Down

0 comments on commit 6c56536

Please sign in to comment.