@inkeep/agents-core 0.47.3 → 0.47.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/auth-schema.d.ts +105 -105
- package/dist/auth/auth.d.ts +57 -57
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/messages.d.ts +3 -3
- package/dist/db/manage/manage-client.js +14 -3
- package/dist/db/manage/manage-schema.d.ts +382 -382
- package/dist/db/runtime/runtime-client.js +5 -1
- package/dist/db/runtime/runtime-schema.d.ts +232 -232
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/schemas.d.ts +1254 -1209
- package/dist/validation/schemas.js +32 -1
- package/package.json +1 -1
|
@@ -15,7 +15,11 @@ function createAgentsRunDatabaseClient(config) {
|
|
|
15
15
|
if (!connectionString) throw new Error("INKEEP_AGENTS_RUN_DATABASE_URL environment variable is required. Please set it to your PostgreSQL connection string.");
|
|
16
16
|
const pool = new Pool({
|
|
17
17
|
connectionString,
|
|
18
|
-
max: config?.poolSize || Number(env.POSTGRES_POOL_SIZE) || 100
|
|
18
|
+
max: config?.poolSize || Number(env.POSTGRES_POOL_SIZE) || 100,
|
|
19
|
+
keepAlive: true,
|
|
20
|
+
keepAliveInitialDelayMillis: 6e4,
|
|
21
|
+
connectionTimeoutMillis: 1e4,
|
|
22
|
+
idleTimeoutMillis: 3e4
|
|
19
23
|
});
|
|
20
24
|
pool.on("error", (err) => {
|
|
21
25
|
console.error("Unexpected PostgreSQL pool error:", err);
|