alibaba/cobar

idleTimeout新设置参数未生效

Opened this issue · 1 comments

求教:感谢!

问题描述:
8月18日设置后,重新启动cobar
—cobar设置连接空闲断开间隔时间(秒数,30天)
vi server.xml
2592000

8月24日查询日志有如下idle timeout;
11:11:30,315 WARN [thread=TimerExecutor2,class=ServerConnection,host=10.172.189.85,port=53125,schema=clydesdale] idle timeout
11:11:30,315 WARN [thread=TimerExecutor2,class=ServerConnection,host=10.172.189.85,port=44007,schema=clydesdale] idle timeout
11:11:30,318 WARN [thread=TimerExecutor2,class=ServerConnection,host=10.172.189.85,port=40209,schema=clydesdale] idle timeout

连接空闲超时时间在FrontendConnectionFactory类中写死了
protected long idleTimeout = 8 * 3600 * 1000L;