diff options
Diffstat (limited to 'lib/lsg')
-rw-r--r-- | lib/lsg/icecast.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsg/icecast.ex b/lib/lsg/icecast.ex index ec168c3..21a9ea2 100644 --- a/lib/lsg/icecast.ex +++ b/lib/lsg/icecast.ex @@ -1,7 +1,7 @@ defmodule LSG.Icecast do use GenServer require Logger - @interval 10_000 + @interval 2_500 @hackney_pool :default @httpoison_opts [hackney: [pool: @hackney_pool]] @fuse __MODULE__ @@ -42,7 +42,7 @@ defmodule LSG.Icecast do Logger.error "Icecast HTTP Error: #{inspect error}" state end - :timer.send_after(5_000, :poll) + :timer.send_after(@interval, :poll) state end |