diff options
author | Mathias Stearn <mathias@10gen.com> | 2019-01-02 16:31:09 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2019-01-23 18:50:54 -0500 |
commit | ad76f11ab3c86e3526cc8fc396e368fea934a0eb (patch) | |
tree | e4526d3d79efdb3859640d15ad4db77cad17a945 /src | |
parent | 05e7c83d95ae64cd0547d20f88efe8e7cb5839ee (diff) | |
download | mongo-ad76f11ab3c86e3526cc8fc396e368fea934a0eb.tar.gz |
SERVER-38811 Set TCP_KEEPINTVL to 1 second
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/util/net/socket_utils.h | 2 |
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); |