Skip to content

Commit

Permalink
Changed timeout default to a valid value.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgdavidson committed Dec 8, 2009
1 parent 0bc5557 commit 50e1273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tcl/pools.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
# If you do not delete the provisions above, a recipient may use your
# version of this file under either the License or the GPL.
#
# $Header: /Users/dossy/Desktop/cvs/aolserver/tcl/pools.tcl,v 1.5 2008/12/27 00:36:39 gneumann Exp $
# $Header: /Users/dossy/Desktop/cvs/aolserver/tcl/pools.tcl,v 1.6 2009/12/08 04:13:46 jgdavidson Exp $
#

set cfgsection "ns/server/[ns_info server]"

set minthreads [ns_config $cfgsection minthreads 0]
set maxthreads [ns_config $cfgsection maxthreads 10]
set maxconns [ns_config $cfgsection maxconnections 0]
set timeout [ns_config $cfgsection threadtimeout 0]
set timeout [ns_config $cfgsection threadtimeout 30]
set spread [ns_config $cfgsection spread 20]

ns_pools set default -minthreads $minthreads -maxthreads $maxthreads -maxconns $maxconns -timeout $timeout -spread $spread
Expand Down

0 comments on commit 50e1273

Please sign in to comment.