Ignore:
Timestamp:
Nov 4, 2014 8:00:15 AM (9 years ago)
Author:
nanang
Message:

Close #1802: Configurable randomized value range for auto re-registration interval.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r4955 r4957  
    32933293     * occurs because of transport failure, the first retry will be done 
    32943294     * after \a reg_first_retry_interval seconds instead. Also note that 
    3295      * the interval will be randomized slightly by approximately +/- ten 
    3296      * seconds to avoid all clients re-registering at the same time. 
     3295     * the interval will be randomized slightly by some seconds (specified 
     3296     * in \a reg_retry_random_interval) to avoid all clients re-registering 
     3297     * at the same time. 
    32973298     * 
    32983299     * See also \a reg_first_retry_interval setting. 
     
    33053306     * This specifies the interval for the first registration retry. The 
    33063307     * registration retry is explained in \a reg_retry_interval. Note that 
    3307      * the value here will also be randomized by +/- ten seconds. 
     3308     * the value here will also be randomized by some seconds (specified 
     3309     * in \a reg_retry_random_interval) to avoid all clients re-registering 
     3310     * at the same time. 
    33083311     * 
    33093312     * Default: 0 
    33103313     */ 
    33113314    unsigned         reg_first_retry_interval; 
     3315 
     3316    /** 
     3317     * This specifies maximum randomized value to be added/substracted 
     3318     * to/from the registration retry interval specified in \a 
     3319     * reg_retry_interval and \a reg_first_retry_interval, in second. 
     3320     * This is useful to avoid all clients re-registering at the same time. 
     3321     * For example, if the registration retry interval is set to 100 seconds 
     3322     * and this is set to 10 seconds, the actual registration retry interval 
     3323     * will be in the range of 90 to 110 seconds. 
     3324     * 
     3325     * Default: 10 
     3326     */ 
     3327    unsigned         reg_retry_random_interval; 
    33123328 
    33133329    /** 
Note: See TracChangeset for help on using the changeset viewer.