summaryrefslogtreecommitdiff
path: root/res/ari/resource_endpoints.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-10-02 22:22:17 +0000
committerMark Michelson <mmichelson@digium.com>2013-10-02 22:22:17 +0000
commitaddbf276f5037dc5a265a1e43e383ae1d9e9d0d8 (patch)
tree0d9c84e9baffd708576d6c79fcd8adf768cba77d /res/ari/resource_endpoints.c
parente4ed9886e6527cab3858f45e8ba2d5f11a9aed08 (diff)
Multiple revisions 400318-400319
........ r400318 | mmichelson | 2013-10-02 17:08:49 -0500 (Wed, 02 Oct 2013) | 12 lines Remove unnecessary waits from stasis. Since caches are updated on publisher threads, there is no need to wait for the cache updates to occur after a stasis message is published. In the case of chan_pjsip device state changes, this set of changes caused an improvement to performance. Review: https://reviewboard.asterisk.org/r/2890 ........ r400319 | mmichelson | 2013-10-02 17:10:54 -0500 (Wed, 02 Oct 2013) | 3 lines Remove svn:mergeinfo property. ........ Merged revisions 400318-400319 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/ari/resource_endpoints.c')
-rw-r--r--res/ari/resource_endpoints.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ari/resource_endpoints.c b/res/ari/resource_endpoints.c
index 35d8a45cc..caf20cb28 100644
--- a/res/ari/resource_endpoints.c
+++ b/res/ari/resource_endpoints.c
@@ -140,7 +140,7 @@ void ast_ari_get_endpoint(struct ast_variable *headers,
RAII_VAR(struct ast_json *, json, NULL, ast_json_unref);
RAII_VAR(struct ast_endpoint_snapshot *, snapshot, NULL, ao2_cleanup);
- snapshot = ast_endpoint_latest_snapshot(args->tech, args->resource, 0);
+ snapshot = ast_endpoint_latest_snapshot(args->tech, args->resource);
if (!snapshot) {
ast_ari_response_error(response, 404, "Not Found",
"Endpoint not found");