Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(api/db): max connection pool size: 10->20

mogeryeefbb29aa1ef
diff --git a/apps/api/src/db/connection.ts b/apps/api/src/db/connection.ts
index 9d38bd3c8..64964be67 100644
--- a/apps/api/src/db/connection.ts
+++ b/apps/api/src/db/connection.ts
@@ -16,6 +16,7 @@ function makeDb(
const pool = new Pool({
connectionString,
application_name: applicationName,
+ max: 20,
min: 2,
keepAlive: true,
});