Github user CoderSong2015 commented on a diff in the pull request:
https://github.com/apache/trafodion/pull/1499#discussion_r177961670
--- Diff: core/conn/odbc/src/odbc/Common/Global.h ---
@@ -139,10 +139,16 @@ class ODBCMXTraceMsg;
#define DEFAULT_REFRESH_RATE_SECS 60
#define DEFAULT_SRVR_IDLE_TIMEOUT 0
#define DEFAULT_CONN_IDLE_TIMEOUT 0
+#define DEFAULT_KEEPALIVE 1 //OPEN KEEPALIVE
+#define DEFAULT_KEEPALIVE_TIMESEC 3600
+#define DEFAULT_KEEPALIVE_COUNT 3
--- End diff --
I think 3 times and 5 times are both enough here. Can your tell me why it
is better to retry more times?
---