diff options
Diffstat (limited to 'main/stasis_endpoints.c')
-rw-r--r-- | main/stasis_endpoints.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/stasis_endpoints.c b/main/stasis_endpoints.c index 4a183784c..096770a3d 100644 --- a/main/stasis_endpoints.c +++ b/main/stasis_endpoints.c @@ -187,7 +187,7 @@ void ast_endpoint_blob_publish(struct ast_endpoint *endpoint, struct stasis_mess } struct ast_endpoint_snapshot *ast_endpoint_latest_snapshot(const char *tech, - const char *name, unsigned int guaranteed) + const char *name) { RAII_VAR(char *, id, NULL, ast_free); RAII_VAR(struct stasis_message *, msg, NULL, ao2_cleanup); @@ -198,10 +198,6 @@ struct ast_endpoint_snapshot *ast_endpoint_latest_snapshot(const char *tech, return NULL; } - if (guaranteed) { - stasis_topic_wait(ast_endpoint_topic_all_cached()); - } - msg = stasis_cache_get(ast_endpoint_cache(), ast_endpoint_snapshot_type(), id); if (!msg) { |