Commit d7ff9ff
authored
Update td_connect.py (#312)
pool_pre_ping=True tells SQLAlchemy to issue a lightweight SELECT 1 before returning any connection from the pool. When a transient Teradata instance restarts, stale pooled connections are detected and
discarded automatically — the next tool call gets a fresh connection and succeeds without the agent or user seeing any error. Really useful when using Teradata Trial instances.1 parent 6500b97 commit d7ff9ff
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| |||
0 commit comments