Am not able to figure how to solve this issue ```...
# orm-help
h
Am not able to figure how to solve this issue
Copy code
rismaClientKnownRequestError: 
Invalid `prisma.projectType.findMany()` invocation:


  Timed out fetching a new connection from the connection pool. (More info: <http://pris.ly/d/connection-pool>, Current connection limit: 17)
    at cb (/Users/harshamv/Sites/nftvoltclub/node_modules/@prisma/client/runtime/index.js:36952:17)
    at async getServerSideProps (webpack-internal:///./pages/list-project.js:27:24)
    at async Object.renderToHTML (/Users/harshamv/Sites/nftvoltclub/node_modules/next/dist/server/render.js:473:24)
    at async doRender (/Users/harshamv/Sites/nftvoltclub/node_modules/next/dist/server/next-server.js:1127:38)
    at async /Users/harshamv/Sites/nftvoltclub/node_modules/next/dist/server/next-server.js:1221:28
    at async /Users/harshamv/Sites/nftvoltclub/node_modules/next/dist/server/response-cache.js:60:36 {
  code: 'P2024',
  clientVersion: '3.1.1',
  meta: { connection_limit: 17 }
}
this is my prisma file:
Copy code
import { PrismaClient } from '@prisma/client';

let prisma;

if (process.env.NODE_ENV === 'production') {
    prisma = new PrismaClient();
} else {
    if (!global.prisma) {
        global.prisma = new PrismaClient();
    }

    prisma = global.prisma;
}

export default prisma;
@Ryan any help here?
r
Is this happening in production?