<p> Attention is currently required from: Sean Bright, Alexei Gradinari, Stanislav Abramenkov, Niklas Larsson. </p>
<p>Patch set 14:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4; color: #000000;">Code-Review -1</span></p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/19741">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="null">File apps/app_queue.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/19741/comment/8c6a4aa4_011abd2a">Patch Set #14, Line 1628:</a> <code style="font-family:monospace,monospace">static int realtime_reason_paused = 0;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Currently, this is only set to 1 when the module loads. Is it possible that the backend could not support it when the module loads but not at some later point, or vice versa? (Asking since I don't know much about realtime). If so, maybe you'd want to initialize in queue_reset_global_params and queue_set_global_params.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/19741/comment/b9840554_ef76d6d0">Patch Set #14, Line 11740:</a> <code style="font-family:monospace,monospace"> realtime_reason_paused = 0;</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This is initialized twice, which isn't necessary.<br>As written you'd want to keep the global assignment since if there's a member_config but reason_paused isn't set, it wouldn't be uninitialized otherwise.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Assuming you leave things as is, this assignment could be safely removed.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="null">File doc/CHANGES-staging/app_queue_realtime_reason_paused.txt:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/c/asterisk/+/19741/comment/4d1aca73_1467a618">Patch Set #14, Line 3:</a> <code style="font-family:monospace,monospace"> </code></p><p style="white-space: pre-wrap; word-wrap: break-word;">The line wrapping splits this word across two lines, wrap this earlier.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/19741">change 19741</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/+/19741"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: Ica08baa5cab6b18105b5d719a183f9fd582fcf09 </div>
<div style="display:none"> Gerrit-Change-Number: 19741 </div>
<div style="display:none"> Gerrit-PatchSet: 14 </div>
<div style="display:none"> Gerrit-Owner: Niklas Larsson <niklas@tese.se> </div>
<div style="display:none"> Gerrit-Reviewer: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Stanislav Abramenkov <stas.abramenkov@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Attention: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-Attention: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Attention: Stanislav Abramenkov <stas.abramenkov@gmail.com> </div>
<div style="display:none"> Gerrit-Attention: Niklas Larsson <niklas@tese.se> </div>
<div style="display:none"> Gerrit-Comment-Date: Sat, 01 Apr 2023 22:42:36 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Gerrit-MessageType: comment </div>