<p>Corey Farrell <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/7454">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sounds_index: Avoid repeatedly reindexing.<br><br>The sounds index is rebuilt each time a format is registered or<br>unregistered. This causes the index to be repeatedly rebuilt during<br>startup and shutdown.<br><br>This patch significantly reduces the work done by delaying sound index<br>initialization until after modules are loaded. This way a reindex only<br>occurs if a format module is loaded after startup. We also skip<br>reindexing when format modules are unloaded during shutdown.<br><br>Change-Id: I585fd6ee04200612ab1490dc804f76805f89cf0a<br>---<br>M main/asterisk.c<br>M main/sounds_index.c<br>2 files changed, 11 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/7454/4</pre><p>To view, visit <a href="https://gerrit.asterisk.org/7454">change 7454</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7454"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I585fd6ee04200612ab1490dc804f76805f89cf0a </div>
<div style="display:none"> Gerrit-Change-Number: 7454 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>