   defp poolboy_config do
     [{:name, {:local, :worker}},
       {:worker_module, Worker},
-      {:size, 20},
+      {:size, @batch_size},
       {:max_overflow, 0}]
   end
 


  def run do
    Podcasts.list_podcasts
    |> Enum.map(&(Task.async(fn -> do_fetch(&1) end)))
    |> Enum.map(&Task.await(&1, @await_timeout))
  end


  alias Podcatcher.Podcasts
  alias Podcatcher.Updater.Worker

  @batch_size 10
  @worker_timeout 1_000_000
  @await_timeout  1_000_000

