Skip to content

Too many prisma client connections #2

@ashutosh017

Description

@ashutosh017

https://github.com/prisma/nextjs-prisma-postgres-demo/blob/main/lib/prisma.ts

in this file in line number 4, it will end up making too many client connections, you are storing the prisma in global object but not re using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions