Fix feed retry handler being handle_cast instead of handle_info

This commit is contained in:
Shadowfacts 2022-10-24 09:57:54 -04:00
parent ff3d9affe5
commit d7a37b5c64
1 changed files with 1 additions and 1 deletions

View File

@ -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