mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(Postgres Chat Memory Node): Do not terminate the connection pool (#12674)
This commit is contained in:
committed by
GitHub
parent
e6a15dfba3
commit
e7f00bcb7f
@@ -186,7 +186,7 @@ export async function configurePostgres(
|
||||
nodeVersion: options.nodeVersion as unknown as string,
|
||||
fallBackHandler,
|
||||
cleanUpHandler: async ({ db }) => {
|
||||
await db.$pool.end();
|
||||
if (!db.$pool.ended) await db.$pool.end();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user