Revision 1093
Added by Jing Tao over 22 years ago
metacat.properties | ||
---|---|---|
14 | 14 |
maximumConnectionAge=120000 |
15 | 15 |
maximumConnectionTime=60000 |
16 | 16 |
maximumUsageNumber=100 |
17 |
runDBConnectionRecycleThread=on |
|
18 |
cycleTimeOfDBConnection=30000 |
|
17 | 19 |
config-dir=@config-dir@ |
18 | 20 |
default-style=@default-style@ |
19 | 21 |
xmlcatalogfile=/opt/tomcat/webapps/xmltodb/catalog.txt |
Also available in: Unified diff
Add two variables here: one is runDBConnectionRecycleThread. If it set "on", the recycle connection tread will run periodically. The other is cycleTimeOfDBConnection. This is for the recycle periodical time in milli seconds.