[Asterisk-code-review] app_queue: Fix hint updates for included contexts (asterisk[master])

N A asteriskteam at digium.com
Thu Sep 9 19:53:40 CDT 2021


Attention is currently required from: Sean Bright, George Joseph.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16411 )

Change subject: app_queue: Fix hint updates for included contexts
......................................................................


Patch Set 10:

(3 comments)

File apps/app_queue.c:

https://gerrit.asterisk.org/c/asterisk/+/16411/comment/1c6f175f_9031d723 
PS7, Line 2658: 
> This logic only goes one level down from the state_context. […]
Ah, good point, I hadn't thought of that. In my case, it's not an issue, but it should generalize as you described.


https://gerrit.asterisk.org/c/asterisk/+/16411/comment/29c7028f_40273aac 
PS7, Line 2659: 				while ((c = ast_walk_contexts(c))) {
> Why not just use ast_context_find()?  It's much faster than walking them since it'll use the interna […]
Done


https://gerrit.asterisk.org/c/asterisk/+/16411/comment/1482c5a6_4abca1a9 
PS7, Line 2663: 						for (idx = 0; idx < ast_context_includes_count(c); idx++) {
> ast_walk_context_includes() maybe?
Done



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16411
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I8caf2f8da8157ef3d9ea71a8568c1eec95592b78
Gerrit-Change-Number: 16411
Gerrit-PatchSet: 10
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Fri, 10 Sep 2021 00:53:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210909/e0709e5f/attachment.html>


More information about the asterisk-code-review mailing list