We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
私有云环境网络波动不可控,druid连接池异常连接别应用拿到后不做检查(空闲检测时间无法修改,且连接不可替换),导致异常连接一直存在,进而导致应用异常,必须手动重启seata服务。
建议将这4个字段作为配置参数放开,让应用放灵活配置。 ds.setTimeBetweenEvictionRunsMillis(120000); ds.setMinEvictableIdleTimeMillis(300000); ds.setTestWhileIdle(true); ds.setTestOnBorrow(false);
The text was updated successfully, but these errors were encountered:
Hi i will add this feature in next release.
Sorry, something went wrong.
ds.setTestWhileIdle(true);
druid空闲保活还需要设置keepAlive为true,否则无效
xingfudeshi
No branches or pull requests
Why you need it?
私有云环境网络波动不可控,druid连接池异常连接别应用拿到后不做检查(空闲检测时间无法修改,且连接不可替换),导致异常连接一直存在,进而导致应用异常,必须手动重启seata服务。
How it could be?
建议将这4个字段作为配置参数放开,让应用放灵活配置。
ds.setTimeBetweenEvictionRunsMillis(120000);
ds.setMinEvictableIdleTimeMillis(300000);
ds.setTestWhileIdle(true);
ds.setTestOnBorrow(false);
The text was updated successfully, but these errors were encountered: