summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2012-03-15 08:12:10 +0000
committerBenny Prijono <bennylp@teluu.com>2012-03-15 08:12:10 +0000
commit7fb666c783e7744a29dff187704b82bf5157526d (patch)
tree271fbf8d9bfafc4c056530ccfe1885315fd5bba8
parentd4cc898ed7be56c51ee827bb4b1c066f6881ef25 (diff)
Lower the default TCP/TLS idle time from 600s to 30s to improve battery consumption (fixed #1465)
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3976 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/include/pjsip/sip_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip/include/pjsip/sip_config.h b/pjsip/include/pjsip/sip_config.h
index 825db0d6..3d0c0946 100644
--- a/pjsip/include/pjsip/sip_config.h
+++ b/pjsip/include/pjsip/sip_config.h
@@ -430,10 +430,10 @@ PJ_INLINE(pjsip_cfg_t*) pjsip_cfg(void)
* Idle timeout interval to be applied to transports with no usage
* before the transport is destroyed. Value is in seconds.
*
- * Default: 600
+ * Default: 30
*/
#ifndef PJSIP_TRANSPORT_IDLE_TIME
-# define PJSIP_TRANSPORT_IDLE_TIME 600
+# define PJSIP_TRANSPORT_IDLE_TIME 30
#endif