From d7a37b5c6474e6fa52cae0279e85e06cec767e40 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 24 Oct 2022 09:57:54 -0400 Subject: [PATCH] Fix feed retry handler being handle_cast instead of handle_info --- lib/frenzy/update_feeds.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/frenzy/update_feeds.ex b/lib/frenzy/update_feeds.ex index 34e6f6d..69b5373 100644 --- a/lib/frenzy/update_feeds.ex +++ b/lib/frenzy/update_feeds.ex @@ -24,7 +24,7 @@ defmodule Frenzy.UpdateFeeds do {:noreply, state} end - def handle_cast({:update_feed, feed_id, retry_count}, state) do + def handle_info({:update_feed, feed_id, retry_count}, state) do update_feed(Repo.get(Feed, feed_id), retry_count) {:noreply, state} end