We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3e1b7d commit 6437ae5Copy full SHA for 6437ae5
src/shared/modules/global/prisma.service.ts
@@ -12,6 +12,11 @@ export class PrismaService
12
13
constructor(private readonly prismaErrorService?: PrismaErrorService) {
14
super({
15
+ transactionOptions: {
16
+ timeout: process.env.GROUPS_SERVICE_PRISMA_TIMEOUT
17
+ ? parseInt(process.env.GROUPS_SERVICE_PRISMA_TIMEOUT, 10)
18
+ : 10000,
19
+ },
20
log: [
21
{ level: 'query', emit: 'event' },
22
{ level: 'info', emit: 'event' },
0 commit comments