Skip to content

Commit

Permalink
launch_max in the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
dsweber2 committed Feb 14, 2024
1 parent a4220ea commit e8b8ecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/targets-common.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ suppressPackageStartupMessages({
# https://books.ropensci.org/targets/crew.html#heterogeneous-workers
main_controller <- crew_controller_local(
name = "main_controller",
workers = parallel::detectCores() - 1L
workers = parallel::detectCores() - 1L,
launch_max = 20
)
serial_controller <- crew_controller_local(
name = "serial_controller",
Expand Down Expand Up @@ -48,8 +49,7 @@ tar_option_set(
resources = tar_resources(
crew = tar_resources_crew(
controller = "main_controller",
seconds_timeout = 7 * 24 * 60 * 60,
launch_max = 20
seconds_timeout = 7 * 24 * 60 * 60
)
)
)
Expand Down

0 comments on commit e8b8ecb

Please sign in to comment.