<p>Joshua Colp <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/10036">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Benjamin Keith Ford: Looks good to me, but someone else must approve
Kevin Harwell: Looks good to me, approved
Joshua Colp: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">app_queue: Update realtime queuemembers after wait_a_bit(), not before<br><br>This ensures the most up-to-date information is used for the next<br>call attempt.<br><br>ASTERISK-28032<br><br>Change-Id: I02fc17c6ffb50bb60ea97c2d2e6023e8061815ce<br>---<br>M apps/app_queue.c<br>1 file changed, 3 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/apps/app_queue.c b/apps/app_queue.c</span><br><span>index 292fad2..32a979e 100644</span><br><span>--- a/apps/app_queue.c</span><br><span>+++ b/apps/app_queue.c</span><br><span>@@ -8332,14 +8332,15 @@</span><br><span> break;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">- /* If using dynamic realtime members, we should regenerate the member list for this queue */</span><br><span style="color: hsl(0, 100%, 40%);">- update_realtime_members(qe.parent);</span><br><span> /* OK, we didn't get anybody; wait for 'retry' seconds; may get a digit to exit with */</span><br><span> res = wait_a_bit(&qe);</span><br><span> if (res) {</span><br><span> goto stop;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ /* If using dynamic realtime members, we should regenerate the member list for this queue */</span><br><span style="color: hsl(120, 100%, 40%);">+ update_realtime_members(qe.parent);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* Since this is a priority queue and</span><br><span> * it is not sure that we are still at the head</span><br><span> * of the queue, go and check for our turn again.</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10036">change 10036</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/10036"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I02fc17c6ffb50bb60ea97c2d2e6023e8061815ce </div>
<div style="display:none"> Gerrit-Change-Number: 10036 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: lvl <digium@lvlconsultancy.nl> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>