diff options
author | Benny Prijono <bennylp@teluu.com> | 2012-03-15 08:12:10 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2012-03-15 08:12:10 +0000 |
commit | 7fb666c783e7744a29dff187704b82bf5157526d (patch) | |
tree | 271fbf8d9bfafc4c056530ccfe1885315fd5bba8 /pjsip | |
parent | d4cc898ed7be56c51ee827bb4b1c066f6881ef25 (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
Diffstat (limited to 'pjsip')
-rw-r--r-- | pjsip/include/pjsip/sip_config.h | 4 |
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 |