调整时间

This commit is contained in:
cheney 2022-08-04 09:43:51 +08:00
parent 8532ad12b1
commit 72f5f10086

View File

@ -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;