Don't update feeds when starting GenServer
This commit is contained in:
parent
fd42f20920
commit
71203435d6
|
@ -14,8 +14,7 @@ defmodule Frenzy.UpdateFeeds do
|
|||
end
|
||||
|
||||
def init(state) do
|
||||
update_feeds()
|
||||
schedule_update()
|
||||
Process.send_after(self(), :update_feeds, 5 * 1000)
|
||||
{:ok, state}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue