Article View: borland.public.delphi.database.bdp
Article #46Re: Closing unused connections in the connection pool
From: Nevena Komarova
Date: Wed, 14 Feb 2007 05:52
Date: Wed, 14 Feb 2007 05:52
19 lines
1615 bytes
1615 bytes
Thanks Robin, I did tried to set the connection lifetime, but seems that it checks for how long the connection has stayed open and it is checked on connection.close when the connections is returned to the pool. What I want is to close the connections that are in the pool, but not used for a long period of time, lets say if there no requests to the service for 15 min I want to close the connections in the pool. > Hi Nevena, > > BDP has a setting called 'Connection Lifetime'. > > More info can be found at the following link: > > http://dn.codegear.com/article/33443 > >
Technical Details
Message-ID:
<45d2a37f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45d289fb$1@newsgroups.borland.com> <45d29015$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1effeb,2e685c73edccb73b X-Google-Attributes: gid1effeb,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 14 Feb 2007 16:52:17 +1100 From: Nevena Komarova <nkomarova@hotmail.tcom> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.delphi.database.bdp Subject: Re: Closing unused connections in the connection pool References: <45d289fb$1@newsgroups.borland.com> <45d29015$1@newsgroups.borland.com> In-Reply-To: <45d29015$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 202.9.16.26 Message-ID: <45d2a37f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1171432319 202.9.16.26 (13 Feb 2007 21:51:59 -0800) Lines: 19 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail