*DB-POOL-MAX-FREE-CONNECTIONS*
Prev | Connection and Initialisation | Next

## Name

*DB-POOL-MAX-FREE-CONNECTIONS* — How many free connections should the connection pool try to keep.Parameter

## Value Type

Integer

## Initial Value

4

## Description

Threshold of free-connections in the pool before we disconnect a database rather than returning it to the pool. NIL for no limit. This is really a heuristic that should, on avg keep the free connections about this size.

### Note

This is not a hard limit, the number of connections in the pool may exceed this value.

## Examples

    	(setf clsql-sys:*db-pool-max-free-connections* 2)

## Affected By

None

## See Also

`connect`
`disconnect`

## Notes

### Note

Prev | Up | Next
*CONNECT-IF-EXISTS* | Home | *DEFAULT-DATABASE*