<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13214">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Kevin Harwell: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Friendly Automation: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">serializer: set high/low alert levels on whole pool<br><br>The current code sets alert levels starting from index 1.<br>Need to set on whole pool starting from index 0.<br><br>Change-Id: I5decbb43160954fb9a512f04302637fc666b6f5d<br>---<br>M main/serializer.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/serializer.c b/main/serializer.c</span><br><span>index 280ada0..a10dc49 100644</span><br><span>--- a/main/serializer.c</span><br><span>+++ b/main/serializer.c</span><br><span>@@ -177,7 +177,7 @@</span><br><span> tps_queue_low = -1;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- for (idx = 1; idx < AST_VECTOR_SIZE(&pool->serializers); ++idx) {</span><br><span style="color: hsl(120, 100%, 40%);">+ for (idx = 0; idx < AST_VECTOR_SIZE(&pool->serializers); ++idx) {</span><br><span> struct ast_taskprocessor *cur = AST_VECTOR_GET(&pool->serializers, idx);</span><br><span> if (ast_taskprocessor_alert_set_levels(cur, tps_queue_low, tps_queue_high)) {</span><br><span> ast_log(AST_LOG_WARNING, "Failed to set alert levels for serializer '%s'.\n",</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13214">change 13214</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/13214"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-Change-Id: I5decbb43160954fb9a512f04302637fc666b6f5d </div>
<div style="display:none"> Gerrit-Change-Number: 13214 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>