mauricio / postgresql-async

Async, Netty based, database drivers for PostgreSQL and MySQL written in Scala
Apache License 2.0
1.43k stars 222 forks source link

Is it possible provide a validationQuery='select 1'? #257

Open zhengfc opened 4 years ago

zhengfc commented 4 years ago

When the connection long time not for use, the db server config a wait_timeout will kill the connection, then the next db operation will timeout. If db server config more big wait_timeout also will have another question.