[asterisk-bugs] [JIRA] (ASTERISK-18842) text config files are treated as unchanged when changing and reloading them quickly one after another

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:29:08 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-18842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-18842:
-----------------------------------

    Affects Version/s: 13.18.4

> text config files are treated as unchanged when changing and reloading them quickly one after another
> -----------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-18842
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18842
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 1.6.2.15, 1.8.7.0, 13.18.4
>            Reporter: Thomas Arimont
>            Severity: Minor
>
> Text config files are (can be) treated as unchanged when changing a config file and reloading it ('reload' or module reload) quickly one after another. Due to the generic implementation of the configuration loading, which was introduced somewhere in Asterisk 1.6 to increase performance, a text config file is treated as unchanged in dependency of the file modification time (to avoid unnecessary config parsing). Since the granularity of this timestamp is 1 sec fast consecutive config changes incl. reloading within this time are mostly not succesful. I've spent some time to find out what was wrong with a config script of mine ...
> Is there no smarter way to solve this?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list