close_connections
Method
This is a method of the Memory class in the memory module.Close database connections. Closes only the calling thread’s STM/LTM SQLite connections (and the process-wide MongoDB client, if any). Connections owned by other threads are left untouched so concurrent agents are not interfered with — each thread is responsible for calling this before terminating. For full process shutdown, use the adapter’s own bulk-close path.
Signature
Returns
Any
The result of the operation.
Uses
discardcloselogger.warningcallablelogger.debug
Used By
Source
View on GitHub
praisonaiagents/memory/memory.py at line 2196
