summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2015-04-24 17:07:37 +0200
committerVijay Bellur <vbellur@redhat.com>2015-05-02 03:11:00 -0700
commit34833364e9839f0036bccd58ec0a8a963e69263e (patch)
tree3abfad9ef9e2336abcff4925c891bbbbd5c3a3d8 /xlators/protocol/server/src
parent3fe0c3c50eba9b64ebdd2abf0e8491d87078a440 (diff)
protocol: increase default group-cache-timeout to 300 seconds
sssd uses 300 seconds by default too. There is no need to overload sssd with requests that it would have cached. BUG: 1215187 Change-Id: I3f04ea8cc90180d863253a9f46d62b71810a7b34 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/10371 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src')
-rw-r--r--xlators/protocol/server/src/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index a148646e215..ca00dc09133 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -1353,7 +1353,7 @@ struct volume_options options[] = {
},
{ .key = {"gid-timeout"},
.type = GF_OPTION_TYPE_INT,
- .default_value = "2",
+ .default_value = "300",
.description = "Timeout in seconds for the cached groups to expire."
},
{ .key = {"event-threads"},