diff options
Diffstat (limited to 'main/stasis_cache.c')
-rw-r--r-- | main/stasis_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/stasis_cache.c b/main/stasis_cache.c index 3d5065665..2ca4083df 100644 --- a/main/stasis_cache.c +++ b/main/stasis_cache.c @@ -426,8 +426,7 @@ static void caching_topic_exec(void *data, struct stasis_subscription *sub, id = caching_topic->cache->id_fn(message); if (id == NULL) { - /* Object isn't cached; forward */ - stasis_forward_message(caching_topic->topic, topic, message); + /* Object isn't cached; discard */ } else { /* Update the cache */ RAII_VAR(struct stasis_message *, old_snapshot, NULL, ao2_cleanup); |