summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorRichard Wareing <rwareing@fb.com>2015-06-30 21:13:43 -0700
committerKevin Vigor <kvigor@fb.com>2017-03-06 16:19:30 -0500
commit565428a8b2c9ecb7e3183aeb3b5e9e68b67a881d (patch)
tree67a4783312f75fcebb3d61f14dc78b1b765ef752 /rpc
parent13317ddf8a40423d4148cb543b47307dd0f4108f (diff)
Increase RPC ping timeout to 180 seconds for larger clusters
Summary: - Large clusters explode with such a low timeout since the peer info exchange is serialized. Test Plan: - Build and pushed to gfsbudev.ash3c06 where problem first observed Reviewers: dph, moox, sshreyas Reviewed By: sshreyas FB-commit-id: 82f7af1 Change-Id: Id7c2f408eeb8847118e0ad53465c9fca4c6d9fb5 Signed-off-by: Kevin Vigor <kvigor@fb.com> Reviewed-on: https://review.gluster.org/16857 CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Shreyas Siravara <sshreyas@fb.com> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-lib/src/rpc-clnt-ping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.h b/rpc/rpc-lib/src/rpc-clnt-ping.h
index d92e5054190..7354679d50f 100644
--- a/rpc/rpc-lib/src/rpc-clnt-ping.h
+++ b/rpc/rpc-lib/src/rpc-clnt-ping.h
@@ -9,7 +9,7 @@
*/
-#define RPC_DEFAULT_PING_TIMEOUT 30
+#define RPC_DEFAULT_PING_TIMEOUT 300
void
rpc_clnt_check_and_start_ping (struct rpc_clnt *rpc_ptr);
int