I considered using a validation query but it seemed like extra overhead
when the default behavior was not, um, behaving in the default way.
-Alec
On Tue, Dec 3, 2013 at 7:24 AM, Daniel Mikusa <dmikusa@gopivotal.com> wrote:
> On Dec 2, 2013 10:09 PM, "Neven Cvetkovic" <neven.cvetkovic@gmail.com>
> wrote:
> >
> > On Dec 2, 2013 12:47 PM, "Tomcat Random" <tomcat.random@gmail.com>
> wrote:
> > >
> > > Neven, thank you.
> > >
> > > It was right there in my.cnf: 'wait_timeout=600'
> > >
> >
> > You're welcome :)
> >
> > I am curious why tomcat didn't renew expired (terminated) idle
> connections
> > though.
>
> It wouldn't know that the connections have been disconnected, since they
> were disconnected server side. If the user added a validation query then
> it could detect and remove the closed connections.
>
> Dan
>
|