Skip to content

Commit

Permalink
fix: cap chromedriver concurrency at 10
Browse files Browse the repository at this point in the history
Closes #720
Closes #722
  • Loading branch information
mhanberg committed Apr 3, 2023
1 parent 296ac2d commit 831fa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wallaby/chrome.ex
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ defmodule Wallaby.Chrome do
{PartitionSupervisor,
child_spec: Wallaby.Chrome.Chromedriver,
name: Wallaby.Chromedrivers,
partitions: System.schedulers_online()}
partitions: min(System.schedulers_online(), 10)}
]

Supervisor.init(children, strategy: :one_for_one)
Expand Down

0 comments on commit 831fa2c

Please sign in to comment.