Changes between Initial Version and Version 1 of Ticket #35812, comment 5
- Timestamp:
- Oct 4, 2024, 6:17:13 AM (7 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35812, comment 5
initial v1 7 7 > If set to True, existing persistent database connections will be health checked before they are reused **in each request** performing database access. 8 8 9 You should explicitly `close_old_connections` before every code path outside of request-response cycle that interacts with the database and could be idling for longer than your configured connection timeouts. In your case, being a Kafka consumer, I assume that would be every time you consume a new message.9 You should explicitly call `close_old_connections` before every code path outside of request-response cycle that interacts with the database and could be idling for longer than your configured connection timeouts. In your case, being a Kafka consumer, I assume that would be every time you consume a new message.