parent
3ff262bd9c
commit
103de6f9f4
20 changed files with 11 additions and 55 deletions
@ -1,9 +1,9 @@ |
||||
#--------- jdbc 配置--------- |
||||
#--------- jdbc 配置--------- |
||||
jdbc.driver=com.mysql.jdbc.Driver |
||||
jdbc.url=jdbc:mysql://127.0.0.1:3306/ssm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8 |
||||
jdbc.url=jdbc:mysql://localhost:3306/ssm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8 |
||||
jdbc.user=root |
||||
jdbc.password=mysql |
||||
#--------数据库连接池配置 ------- |
||||
#--------数据库连接池配置 ------- |
||||
durid.pool.initialSize=5 |
||||
durid.pool.maxActive=5 |
||||
durid.pool.minIdle=1 |
@ -0,0 +1 @@ |
||||
file.upload=/Users/qi/java/fileManger/ |
@ -1,9 +1,9 @@ |
||||
redis.host=192.168.31.19 |
||||
redis.host=127.0.0.1 |
||||
redis.port=6379 |
||||
redis.pass= |
||||
redis.timeout=-1 |
||||
|
||||
redis.maxTotal=20 |
||||
redis.maxTotal=15 |
||||
redis.maxIdle=10 |
||||
redis.numTestsPerEvictionRun=1024 |
||||
redis.timeBetweenEvictionRunsMillis=30000 |
@ -1,20 +0,0 @@ |
||||
<ehcache updateCheck="false" name="shiroCache"> |
||||
|
||||
<defaultCache |
||||
maxElementsInMemory="10000" |
||||
eternal="false" |
||||
timeToIdleSeconds="120" |
||||
timeToLiveSeconds="120" |
||||
overflowToDisk="false" |
||||
diskPersistent="false" |
||||
diskExpiryThreadIntervalSeconds="120" |
||||
/> |
||||
|
||||
<cache name="sessioncache" |
||||
maxElementsInMemory="1000" |
||||
eternal="false" |
||||
overflowToDisk="true" |
||||
timeToIdleSeconds="0" |
||||
timeToLiveSeconds="200"/> |
||||
|
||||
</ehcache> |
@ -1,25 +0,0 @@ |
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<ehcache> |
||||
<!-- 指定一个文件目录,当EhCache把数据写到硬盘上时,将把数据写到这个文件目录下 --> |
||||
<diskStore path="java.io.tmpdir"/> |
||||
|
||||
<!-- 设定缓存的默认数据过期策略 --> |
||||
<defaultCache |
||||
maxElementsInMemory="10000" |
||||
eternal="false" |
||||
overflowToDisk="true" |
||||
timeToIdleSeconds="10" |
||||
timeToLiveSeconds="20" |
||||
diskPersistent="false" |
||||
diskExpiryThreadIntervalSeconds="120"/> |
||||
|
||||
<cache name="cacheTest" |
||||
maxElementsInMemory="1000" |
||||
eternal="false" |
||||
overflowToDisk="true" |
||||
timeToIdleSeconds="0" |
||||
timeToLiveSeconds="200"/> |
||||
|
||||
|
||||
|
||||
</ehcache> |
@ -1 +0,0 @@ |
||||
file.upload=/home/nfs/fileManger/ |
Loading…
Reference in new issue