Changes between Initial Version and Version 1 of Ticket #35812, comment 5


Ignore:
Timestamp:
Oct 4, 2024, 6:17:13 AM (6 weeks ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35812, comment 5

    initial v1  
    77> If set to True, existing persistent database connections will be health checked before they are reused **in each request** performing database access.
    88
    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.
     9You 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.
Back to Top