Github user pivotal-jbarrett commented on a diff in the pull request: https://github.com/apache/geode-native/pull/105#discussion_r125184917 --- Diff: src/cppcache/src/TcrConnection.cpp --- @@ -703,15 +717,21 @@ inline ConnErrType TcrConnection::sendData(uint32_t& timeSpent, is not public yet*/ notPublicApiWithTimeout == TcrMessage::EXECUTE_FUNCTION || notPublicApiWithTimeout == TcrMessage::EXECUTE_REGION_FUNCTION || - notPublicApiWithTimeout == - TcrMessage::EXECUTE_REGION_FUNCTION_SINGLE_HOP) { - // then app has set timeout in millis, change it to microSeconds - sendTimeoutSec = sendTimeoutSec * 1000; - isPublicApiTimeout = true; - LOGDEBUG("sendData2 %d ", sendTimeoutSec); - } else { - sendTimeoutSec = sendTimeoutSec * 1000; - } + notPublicApiWithTimeout == TcrMessage::EXECUTE_REGION_FUNCTION_SINGLE_HOP || + // GT GEODE-2891 + notPublicApiWithTimeout == TcrMessage::HANDSHAKE) + { + // then app has set timeout in millis, change it to microSeconds + sendTimeoutSec = sendTimeoutSec * 1000; + isPublicApiTimeout = true; + LOGDEBUG("sendData2 %d ", sendTimeoutSec); + } --- End diff -- Formatting does not conform to [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html).
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---