summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/socket_utils.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2019-01-02 16:31:09 -0500
committerMathias Stearn <mathias@10gen.com>2019-01-23 18:50:54 -0500
commitad76f11ab3c86e3526cc8fc396e368fea934a0eb (patch)
treee4526d3d79efdb3859640d15ad4db77cad17a945 /src/mongo/util/net/socket_utils.h
parent05e7c83d95ae64cd0547d20f88efe8e7cb5839ee (diff)
downloadmongo-ad76f11ab3c86e3526cc8fc396e368fea934a0eb.tar.gz
SERVER-38811 Set TCP_KEEPINTVL to 1 second
Diffstat (limited to 'src/mongo/util/net/socket_utils.h')
-rw-r--r--src/mongo/util/net/socket_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/net/socket_utils.h b/src/mongo/util/net/socket_utils.h
index dc00a9d2600..7f33526fa1d 100644
--- a/src/mongo/util/net/socket_utils.h
+++ b/src/mongo/util/net/socket_utils.h
@@ -37,7 +37,7 @@ namespace mongo {
void setSocketKeepAliveParams(int sock,
unsigned int maxKeepIdleSecs = 300,
- unsigned int maxKeepIntvlSecs = 300);
+ unsigned int maxKeepIntvlSecs = 1);
std::string makeUnixSockPath(int port);