mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix(MemoryPostgresChat): It is not necessary to close the pool connections
This commit is contained in:
parent
2c648ff82d
commit
0db1a063f8
|
@ -115,12 +115,7 @@ export class MemoryPostgresChat implements INodeType {
|
|||
...kOptions,
|
||||
});
|
||||
|
||||
async function closeFunction() {
|
||||
void pool.end();
|
||||
}
|
||||
|
||||
return {
|
||||
closeFunction,
|
||||
response: logWrapper(memory, this),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue