Skip to content

Commit

Permalink
launch_max & timeout too low
Browse files Browse the repository at this point in the history
  • Loading branch information
dsweber2 committed Feb 13, 2024
1 parent c21ce61 commit a4220ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion _targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ covid_hosp_explore:
script: scripts/covid_hosp_explore.R
store: covid_hosp_explore
use_crew: yes
seconds_timeout: 604800
flu_hosp_explore:
script: scripts/flu_hosp_explore.R
store: flu_hosp_explore
Expand Down
6 changes: 5 additions & 1 deletion scripts/targets-common.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ tar_option_set(
# Set default crew controller.
# https://books.ropensci.org/targets/crew.html#heterogeneous-workers
resources = tar_resources(
crew = tar_resources_crew(controller = "main_controller", seconds_timeout = 24 * 60 * 60)
crew = tar_resources_crew(
controller = "main_controller",
seconds_timeout = 7 * 24 * 60 * 60,
launch_max = 20
)
)
)

Expand Down

0 comments on commit a4220ea

Please sign in to comment.