import{parseDuration as e,parseSize as o,Server as n}from"@prisma/query-plan-executor";import{version as d}from"@prisma/query-plan-executor";var r;async function u(t){return r===void 0&&(r=await n.create({databaseUrl:t.get("db").connectionString,maxResponseSize:o("128 MiB"),queryTimeout:e("PT5M"),maxTransactionTimeout:e("PT5M"),maxTransactionWaitTime:e("PT5M"),perRequestLogContext:{logFormat:"text",logLevel:t.get("debug")?"debug":"off"}})),r}export{u as getQueryPlanExecutorServer,d as queryPlanExecutorVersion};
