fix(MemoryPostgresChat): It is not necessary to close the pool connections

This commit is contained in:
Luis Chavez 2024-12-31 03:39:42 -05:00
parent 2c648ff82d
commit 0db1a063f8

View file

@ -115,12 +115,7 @@ export class MemoryPostgresChat implements INodeType {
...kOptions, ...kOptions,
}); });
async function closeFunction() {
void pool.end();
}
return { return {
closeFunction,
response: logWrapper(memory, this), response: logWrapper(memory, this),
}; };
} }