diff options
author | Shreyas Siravara <sshreyas@fb.com> | 2016-08-26 09:09:02 -0700 |
---|---|---|
committer | Shreyas Siravara <sshreyas@fb.com> | 2016-12-20 15:45:19 -0800 |
commit | 681eb5475386c7357b0f583630fa2799b51d3f54 (patch) | |
tree | 6fa254e793ebbdf38cb1f64d6496330a4f87d2fe | |
parent | f3e876169ea36f639529de0d3a8286d3644f8ef8 (diff) |
client: Increase default ping-timeout to 180 seconds
Summary:
- We've seen lots of issues when the ping timeout is too low @ 60 seconds.
- This diff defaults the value to 180 seconds.
- This is a cherry-pick of D3753765 to 3.8.
Signed-off-by: Shreyas Siravara <sshreyas@fb.com>
Change-Id: I70b96b027ac024df63af4ca1aa768f973295b7e4
Reviewed-on: http://review.gluster.org/16219
Smoke: Gluster Build System <jenkins@build.gluster.org>
Tested-by: Shreyas Siravara <sshreyas@fb.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Kevin Vigor <kvigor@fb.com>
-rw-r--r-- | xlators/protocol/client/src/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index 55c12e8e7ca..7bde1c21410 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -3027,7 +3027,7 @@ struct volume_options options[] = { .type = GF_OPTION_TYPE_TIME, .min = 0, .max = 1013, - .default_value = "42", + .default_value = "180", .description = "Time duration for which the client waits to " "check if the server is responsive." }, |