[Asterisk-code-review] Stasis/messaging: tech subscriptions conflict with endpoint subscript... (asterisk[master])

Sean Bright asteriskteam at digium.com
Thu Dec 31 07:51:47 CST 2020


Attention is currently required from: Jean Aunis - Prescom.
Sean Bright has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/15301 )

Change subject: Stasis/messaging: tech subscriptions conflict with endpoint subscriptions
......................................................................


Patch Set 1:

(1 comment)

File res/stasis/messaging.c:

https://gerrit.asterisk.org/c/asterisk/+/15301/comment/fef60825_be2c54ec 
PS1, Line 312: 			ast_rwlock_unlock(&tech_subscriptions_lock);
> Since we should have a maximum of 3 subscriptions: one for TECH_WILDCARD, one for the tech itself, and one for the endpoint, do you think it is valid to use a statically-alloc'd array of 3 subscriptions, instead of a vector ?

Sure



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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I9eac4cba5f9e27285a282509395347abc58fc2b8
Gerrit-Change-Number: 15301
Gerrit-PatchSet: 1
Gerrit-Owner: Jean Aunis - Prescom <jean.aunis at prescom.fr>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-Attention: Jean Aunis - Prescom <jean.aunis at prescom.fr>
Gerrit-Comment-Date: Thu, 31 Dec 2020 13:51:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean.bright at gmail.com>
Comment-In-Reply-To: Jean Aunis - Prescom <jean.aunis at prescom.fr>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201231/58b5935d/attachment-0001.html>


More information about the asterisk-code-review mailing list