File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const prismaClient = new PrismaClient({
2525 // Allow overriding via environment variables if needed.
2626 transactionOptions : {
2727 maxWait : Number ( process . env . PRISMA_TRANSACTION_MAX_WAIT_MS || 10000 ) , // wait up to 10s to start
28- timeout : Number ( process . env . PRISMA_TRANSACTION_TIMEOUT_MS || 10000 ) , // allow up to 30s per transaction
28+ timeout : config . CHALLENGE_SERVICE_PRISMA_TIMEOUT , // allow up to 30s per transaction
2929 } ,
3030} ) ;
3131
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const createClient = () =>
1919 ] ,
2020 transactionOptions : {
2121 maxWait : Number ( process . env . PRISMA_TRANSACTION_MAX_WAIT_MS || 10000 ) ,
22- timeout : Number ( process . env . PRISMA_TRANSACTION_TIMEOUT_MS || 10000 ) ,
22+ timeout : config . CHALLENGE_SERVICE_PRISMA_TIMEOUT ,
2323 } ,
2424 } ) ;
2525
You can’t perform that action at this time.
0 commit comments