From: Bill H. <bi...@lo...> - 2004-01-13 16:02:26
|
Hi Per Thomas, On Tue, 2004-01-13 at 16:44, Per Thomas Jahr wrote: > I'm using Proxool with Hibernate 2.1.1 and in the hibernate.cfg.xml > there is the Proxool property set to maximum-active-time 500. Is that > milliseconds? It seems like my application closes databases connections > to early. Could maximum-active-time = 500 be the problem? Yep, it's in milliseconds. That important bit of information seems to be missing from the doc. I'll fix that. maximum-active-time = 500 means that if the house keeper spots that a connection is used for more than half a second it will kill it. Since the house keeper only runs every 30 seconds (by default) it effectively means the maximum-active-time is anywhere between 0.5 seconds and a tad over 30.5 seconds. - Bill |