genome / ptero-workflow

Client-facing API for the PTero system
1 stars 6 forks source link

enable pessimistic database connection invalidation #214

Open mkiwala opened 8 years ago

davidlmorton commented 8 years ago

This would make it so that each time a database connection is drawn from the pool, its connectivity is checked. This results in slightly more network traffic, but provides early knowledge of connectivity issues. Not checking can lead to lots of errors that don't come right out and say they are related to connectivity, making them harder to debug.