Skip to content

Commit 9763d37

Browse files
author
waleed
committed
fix: enable database connection pooling in production
1 parent c2f0a95 commit 9763d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/db/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ declare global {
2626
}
2727

2828
export const db = globalThis.database || drizzleClient
29-
if (process.env.NODE_ENV !== 'production') globalThis.database = db
29+
globalThis.database = db

0 commit comments

Comments
 (0)