调整时间
This commit is contained in:
parent
8532ad12b1
commit
72f5f10086
@ -3,10 +3,10 @@ package com.sunyard.sge.pool;
|
|||||||
public class PoolConfig {
|
public class PoolConfig {
|
||||||
|
|
||||||
// 最大空闲时间
|
// 最大空闲时间
|
||||||
private long maxIdle = 5 * 3600 * 1000; // 5 分钟
|
private long maxIdle = 5 * 60 * 1000; // 5 分钟
|
||||||
|
|
||||||
// 最大无用时间
|
// 最大无用时间
|
||||||
private long maxUseless = 30 * 3600 * 1000; // 30 分钟
|
private long maxUseless = 30 * 60 * 1000; // 30 分钟
|
||||||
|
|
||||||
public long getMaxIdle() {
|
public long getMaxIdle() {
|
||||||
return maxIdle;
|
return maxIdle;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user