diff --git a/_targets.yaml b/_targets.yaml index 2665e41..aca90d6 100644 --- a/_targets.yaml +++ b/_targets.yaml @@ -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 diff --git a/scripts/targets-common.R b/scripts/targets-common.R index 1ec321a..1a6fc28 100644 --- a/scripts/targets-common.R +++ b/scripts/targets-common.R @@ -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 + ) ) )