drizzle-team / drizzle-team/drizzle-orm

[BUG]: Max client connections reached

Open
#4,697 4 comments 0 reactions 0 assignees View on GitHub
bug db/postgres driver/postgresjs
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

0.44.2

### What version of `drizzle-kit` are you using?

0.31.1

### Other packages

_No response_

### Describe the Bug

Using postgres 3.4.7, Supabase (transaction pooler), next 15.3.3 (`next dev --turbopack`), turbo 2.4.2, drizzle-orm/postgres-js

```ts
drizzle({
client: postgres(databaseUrl, { prepare: false }),
schema,
});
```

Using the default settings for the connection pooling config

![Image](https://github.com/user-attachments/assets/0b04d71f-010b-48ce-89f4-a2b3885a1d1e)

---

The error:

```
[Error [PostgresError]: Max client connections reached]
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.