diff options
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index e6b744af536..0770f26a17c 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -3081,6 +3081,11 @@ glusterd_friend_rpc_create (xlator_t *this, glusterd_peerinfo_t *peerinfo, ret = dict_set(options, "transport.socket.source-addr",data); } + data = dict_get(this->options,"ping-timeout"); + if (data) { + ret = dict_set(options, + "ping-timeout",data); + } } ret = glusterd_rpc_create (&peerinfo->rpc, options, |