What are the best practices for configuring database connections in AutomationEdge to prev

What are the best practices for configuring database connections in AutomationEdge to prevent recurring issues like timeouts or unrecoverable connections, and how can I effectively diagnose PostgreSQL handshake and network logging problems?