[Asterisk-code-review] devicestate: Don't create topic when change isn't cached. (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Wed Jul 25 14:20:47 CDT 2018
Hello Jenkins2, George Joseph,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/9658
to look at the new patch set (#3).
Change subject: devicestate: Don't create topic when change isn't cached.
......................................................................
devicestate: Don't create topic when change isn't cached.
When publishing a device state the change can be marked as being
cachable or not. If it is not cached the change is just published
to all interested and not stored away for later query. This was not
fully taken into account when publishing in stasis. The act of
publishing would create a topic for the device even if it may be
ephemeral.
This change makes it so messages which are not cached won't create
a topic for the device. If a topic does already exist it will be
published to but otherwise the change will only be published to
the device state all topic.
ASTERISK-27591
Change-Id: I18da0e8cbb18e79602e731020c46ba4101e59f0a
---
M include/asterisk/stasis.h
M main/devicestate.c
M main/stasis.c
3 files changed, 43 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/58/9658/3
--
To view, visit https://gerrit.asterisk.org/9658
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I18da0e8cbb18e79602e731020c46ba4101e59f0a
Gerrit-Change-Number: 9658
Gerrit-PatchSet: 3
Gerrit-Owner: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180725/fb56b21c/attachment.html>
More information about the asterisk-code-review
mailing list