标签:tps exce tor ida output 其他 data 编辑 配置
确定 Confluence 在数据库连接池中校验数据库连接:
<installation-directory>/conf/server.xml
文件(或者基于在那里你配置你的数据源)。
... < Resource name = "jdbc/confluence" auth = "Container" type = "javax.sql.DataSource" username = "postgres" password = "postgres" driverClassName = "org.postgresql.Driver" url = "jdbc:postgresql://localhost:5432/yourDatabaseName" maxTotal = "60" maxIdle = "20" validationQuery = "select 1" /> ... |
conf/server.xml
你应该可以从中断的数据库连接中重新获得所有的数据库连接而不需要重启 Confluence。
https://www.cwiki.us/display/CONFLUENCEWIKI/Surviving+Database+Connection+Closures
标签:tps exce tor ida output 其他 data 编辑 配置
原文地址:https://www.cnblogs.com/huyuchengus/p/9148137.html