summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-protocol.h
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-04-24 15:18:15 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-24 15:18:15 +0530
commit7b2e459db65edd302aa12476bc73b3b7a17b1410 (patch)
tree40be82474add9f969d34c85fd827eb3a3a1c373c /xlators/protocol/client/src/client-protocol.h
parentd892c56c1d0b1de466ee4cf4071ab7b722808c00 (diff)
rename transport-timeout to frame-timeout, and set default to 30mins2.0.0
Diffstat (limited to 'xlators/protocol/client/src/client-protocol.h')
-rw-r--r--xlators/protocol/client/src/client-protocol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/protocol/client/src/client-protocol.h b/xlators/protocol/client/src/client-protocol.h
index 4ae077e..49dc7a0 100644
--- a/xlators/protocol/client/src/client-protocol.h
+++ b/xlators/protocol/client/src/client-protocol.h
@@ -41,12 +41,12 @@
#define RECEIVE_TIMEOUT(_cprivate,_current) \
((_cprivate->last_received.tv_sec + \
- _cprivate->transport_timeout) < \
+ _cprivate->frame_timeout) < \
_current.tv_sec)
#define SEND_TIMEOUT(_cprivate,_current) \
((_cprivate->last_sent.tv_sec + \
- _cprivate->transport_timeout) < \
+ _cprivate->frame_timeout) < \
_current.tv_sec)
enum {
@@ -89,7 +89,7 @@ struct client_connection {
pthread_mutex_t lock;
uint64_t callid;
struct saved_frames *saved_frames;
- int32_t transport_timeout;
+ int32_t frame_timeout;
int32_t ping_started;
int32_t ping_timeout;
int32_t transport_activity;