Skip to content

Commit

Permalink
change default seconds_idle to 300
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Nov 14, 2024
1 parent b8d4c37 commit 1919a64
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 20 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Organize arguments into options lists.
* Use `crashes_error` from `crew`.
* Implement retryable options for memory, cores, GPUs, wall time, and SLURM partition (#48, @stemangiola).
* Set default `seconds_idle` to 300.

# crew.cluster 0.3.2

Expand Down
2 changes: 1 addition & 1 deletion R/crew_controller_lsf.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ crew_controller_lsf <- function(
seconds_interval = 0.25,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
seconds_exit = NULL,
retry_tasks = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_controller_pbs.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ crew_controller_pbs <- function(
seconds_interval = 0.25,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
seconds_exit = NULL,
retry_tasks = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_controller_sge.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ crew_controller_sge <- function(
seconds_interval = 0.25,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
seconds_exit = NULL,
retry_tasks = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_controller_slurm.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ crew_controller_slurm <- function(
seconds_interval = 0.25,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
seconds_exit = NULL,
retry_tasks = TRUE,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_launcher_cluster.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ crew_launcher_cluster <- function(
seconds_interval = 0.5,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
tasks_max = Inf,
tasks_timers = 0L,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_launcher_lsf.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ crew_launcher_lsf <- function(
seconds_interval = 0.5,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
tasks_max = Inf,
tasks_timers = 0L,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_launcher_pbs.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ crew_launcher_pbs <- function(
seconds_interval = 0.5,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
tasks_max = Inf,
tasks_timers = 0L,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_launcher_sge.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ crew_launcher_sge <- function(
seconds_interval = 0.5,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
tasks_max = Inf,
tasks_timers = 0L,
Expand Down
2 changes: 1 addition & 1 deletion R/crew_launcher_slurm.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ crew_launcher_slurm <- function(
seconds_interval = 0.5,
seconds_timeout = 60,
seconds_launch = 86400,
seconds_idle = Inf,
seconds_idle = 300,
seconds_wall = Inf,
tasks_max = Inf,
tasks_timers = 0L,
Expand Down
2 changes: 1 addition & 1 deletion man/crew_controller_lsf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_controller_pbs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_controller_sge.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_controller_slurm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_launcher_cluster.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_launcher_lsf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_launcher_pbs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_launcher_sge.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/crew_launcher_slurm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions tests/sge/retries.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Watch the number of cores allocated to each worker instance


library(crew.cluster)
library(testthat)

Expand Down

0 comments on commit 1919a64

Please sign in to comment.