Fix feed retry handler being handle_cast instead of handle_info
This commit is contained in:
parent
ff3d9affe5
commit
d7a37b5c64
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user