Skip to content

Commit

Permalink
fix(): set pool size to System.schedulers_online
Browse files Browse the repository at this point in the history
  • Loading branch information
sarat1669 committed Nov 6, 2018
1 parent 8393236 commit 915551c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pool.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule Virta.Pool do
[
{:name, {:local, String.to_atom(name)}},
{:worker_module, Virta.Instance},
{:size, 50},
{:size, System.schedulers_online() },
{:max_overflow, 0}
]
end
Expand Down

0 comments on commit 915551c

Please sign in to comment.