summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2018-04-19 17:13:17 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2018-04-20 05:41:20 +0000
commitab42a3551eba623e11a942bf44d41dd393bfee9b (patch)
treed089feb7b3bbed1d7d980dab35d8361168314649 /xlators/cluster/afr
parent3e8425b5643326e16ce283109edc5f516e21d7f7 (diff)
cluster/afr: Need heal-timeout to be configured as low as 5 seconds
In Halo replication, there are pending heals more often than not. It makes sense to give users the capability to configure it as low as 5 seconds. BUG: 1569489 fixes bz#1569489 Change-Id: I451c1975827f66398b903f659c981ef3121d5376 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 22ce0a35ece..ad5446191ec 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -1073,7 +1073,7 @@ struct volume_options options[] = {
},
{ .key = {"heal-timeout"},
.type = GF_OPTION_TYPE_INT,
- .min = 60,
+ .min = 5,
.max = INT_MAX,
.default_value = "600",
.op_version = {2},