Skip to content
Snippets Groups Projects
  • Joshua C. Colp's avatar
    a9acbd19
    sorcery: Add support for more intelligent reloading. · a9acbd19
    Joshua C. Colp authored
    Some sorcery objects actually contain dynamic content
    that can change despite the underlying configuration
    itself not changing. A good example of this is the
    res_pjsip_endpoint_identifier_ip module which allows
    specifying hostnames. While the configuration may not
    change between reloads the DNS information of the
    hostnames can.
    
    This change adds the ability for a sorcery object to be
    marked as having dynamic contents which is then taken
    into account when reloading by the sorcery file based
    config module. If there is an object with dynamic content
    then a reload will be forced while if there are none
    then the existing behavior of not reloading occurs.
    
    ASTERISK-29321
    
    Change-Id: I9342dc55be46cc00204533c266a68d972760a0b1
    a9acbd19
    History
    sorcery: Add support for more intelligent reloading.
    Joshua C. Colp authored
    Some sorcery objects actually contain dynamic content
    that can change despite the underlying configuration
    itself not changing. A good example of this is the
    res_pjsip_endpoint_identifier_ip module which allows
    specifying hostnames. While the configuration may not
    change between reloads the DNS information of the
    hostnames can.
    
    This change adds the ability for a sorcery object to be
    marked as having dynamic contents which is then taken
    into account when reloading by the sorcery file based
    config module. If there is an object with dynamic content
    then a reload will be forced while if there are none
    then the existing behavior of not reloading occurs.
    
    ASTERISK-29321
    
    Change-Id: I9342dc55be46cc00204533c266a68d972760a0b1