Start exq when scraping blocks

pull/42/head
Doc Ritezel 7 years ago
parent 53cca27175
commit fee72ba3ba
  1. 1
      lib/mix/tasks/scrape.blocks.ex

@ -10,6 +10,7 @@ defmodule Mix.Tasks.Scrape.Blocks do
[:postgrex, :ecto, :ethereumex, :tzdata] [:postgrex, :ecto, :ethereumex, :tzdata]
|> Enum.each(&Application.ensure_all_started/1) |> Enum.each(&Application.ensure_all_started/1)
Repo.start_link() Repo.start_link()
Exq.start_link(mode: :enqueuer)
"#{count}" "#{count}"
|> String.to_integer() |> String.to_integer()

Loading…
Cancel
Save