Don't update feeds when starting GenServer

This commit is contained in:
Shadowfacts 2024-01-31 14:02:16 -05:00
parent fd42f20920
commit 71203435d6
1 changed files with 1 additions and 2 deletions

View File

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