Skip to content

Commit

Permalink
add default worker count
Browse files Browse the repository at this point in the history
  • Loading branch information
Arp-G committed Aug 18, 2022
1 parent 7300c30 commit 74c8fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/lib/dashboard/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ defmodule DashBoard.Config do

def get_defaults do
Csv2sql.Config.Loader.get_defaults()
|> Map.put(:source_directory, get_source_directory())
|> Map.merge(%{source_directory: get_source_directory(), worker_count: System.schedulers_online()})
end

def changeset(params), do: changeset(%__MODULE__{}, params)
Expand Down

0 comments on commit 74c8fac

Please sign in to comment.