* debug: log statement_timeout + connection pid on every session checkout Temporary instrumentation to diagnose why some PlanetScale connections have statement_timeout=5s while others have 0 (disabled). 🤖 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com> * debug: log statement_timeout on every checkout, not just non-zero 🤖 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com> * fix: rollback implicit transaction from debug query The SELECT implicitly begins a transaction, causing "A transaction is already begun" errors for code that calls session.begin() explicitly. 🤖 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com> --------- Co-authored-by: Letta <noreply@letta.com>
5.2 KiB
5.2 KiB