Details
-
Quality Risk
-
Resolution: Won't Do
-
Major
-
None
-
9.x
-
None
Description
Today I debug client code have found that JDBC Driver SocketPing can not be disabled, there are some logic hints SocketPing should be configurable, but it seems not completed, some logic snippets in org.teiid.net.socket.SocketServerConnectionFactory:
private boolean disablePing; public void setDisablePing(boolean disable) { this.disablePing = disable; } public void initialize(Properties info){ ... if (disablePing){ return; } this.pingTimer = new Timer("SocketPing", true); this.pingTimer.schedule(new TimerTask()); }
Note that, even the setDisablePing() exist, but it never be invoked, so I think whether we can add some logic that let JDBC Driver has ability to disable SocketPing?
Attachments
Issue Links
- is caused by
-
TEIID-2996 Ability to disable keepAlive
- Closed