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}
|
{:noreply, state}
|
||||||
end
|
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)
|
update_feed(Repo.get(Feed, feed_id), retry_count)
|
||||||
{:noreply, state}
|
{:noreply, state}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue