Skip to content

Commit

Permalink
retry_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Jul 10, 2024
1 parent 4d9e5b4 commit 4c05b5d
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 12 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: In computationally demanding analysis projects,
'clustermq' by Schubert (2019) <doi:10.1093/bioinformatics/btz284>),
and 'batchtools' by Lang, Bischl, and Surmann (2017).
<doi:10.21105/joss.00135>.
Version: 0.0.5.9000
Version: 0.0.6
License: MIT + file LICENSE
URL: https://wlandau.github.io/crew.aws.batch/,
https://github.com/wlandau/crew.aws.batch
Expand All @@ -34,7 +34,7 @@ Depends:
R (>= 4.0.0)
Imports:
cli (>= 3.1.0),
crew (>= 0.8.0),
crew (>= 0.9.5),
paws.common (>= 0.7.0),
paws.compute,
paws.management,
Expand All @@ -51,4 +51,4 @@ Encoding: UTF-8
Language: en-US
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# crew.aws.batch 0.0.5.9000 (development)

# crew.aws.batch 0.0.6

* Add a `retry_tasks` argument.

# crew.aws.batch 0.0.5

Expand Down
4 changes: 3 additions & 1 deletion R/crew_controller_aws_batch.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ crew_controller_aws_batch <- function(
seconds_launch = 1800,
seconds_idle = Inf,
seconds_wall = Inf,
retry_tasks = TRUE,
tasks_max = Inf,
tasks_timers = 0L,
reset_globals = TRUE,
Expand Down Expand Up @@ -68,7 +69,8 @@ crew_controller_aws_batch <- function(
tls_enable = tls_enable,
tls_config = tls_config,
seconds_interval = seconds_interval,
seconds_timeout = seconds_timeout
seconds_timeout = seconds_timeout,
retry_tasks = retry_tasks
)
launcher <- crew_launcher_aws_batch(
name = name,
Expand Down
1 change: 0 additions & 1 deletion R/crew_package.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#' @title crew.aws.batch: a crew launcher plugin for AWS Batch
#' @name crew.aws.batch-package
#' @docType package
#' @family help
#' @description In computationally demanding analysis projects,
#' statisticians and data scientists asynchronously
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ controller <- crew_controller_aws_batch(
controller$start()
```

At this point, usage is exactly the same as basic [`crew`](https://wlandau.github.io/crew). The `push()` method submits tasks and auto-scales [AWS Batch](https://aws.amazon.com/batch/) workers to meet demand.
At this point, usage is exactly the same as basic [`crew`](https://wlandau.github.io/crew/). The `push()` method submits tasks and auto-scales [AWS Batch](https://aws.amazon.com/batch/) workers to meet demand.

```{r}
controller$push(name = "do work", command = do_work())
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ controller$start()
```

At this point, usage is exactly the same as basic
[`crew`](https://wlandau.github.io/crew). The `push()` method submits
[`crew`](https://wlandau.github.io/crew/). The `push()` method submits
tasks and auto-scales [AWS Batch](https://aws.amazon.com/batch/) workers
to meet demand.

Expand Down Expand Up @@ -411,7 +411,7 @@ citation("crew.aws.batch")
To cite package 'crew.aws.batch' in publications use:

Landau WM (????). _crew.aws.batch: A Crew Launcher Plugin for AWS
Batch_. R package version 0.0.4,
Batch_. R package version 0.0.6,
https://github.com/wlandau/crew.aws.batch,
<https://wlandau.github.io/crew.aws.batch/>.

Expand All @@ -420,7 +420,7 @@ A BibTeX entry for LaTeX users is
@Manual{,
title = {crew.aws.batch: A Crew Launcher Plugin for AWS Batch},
author = {William Michael Landau},
note = {R package version 0.0.4,
note = {R package version 0.0.6,
https://github.com/wlandau/crew.aws.batch},
url = {https://wlandau.github.io/crew.aws.batch/},
}
Expand Down
1 change: 0 additions & 1 deletion man/crew.aws.batch-package.Rd

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

8 changes: 8 additions & 0 deletions man/crew_controller_aws_batch.Rd

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

0 comments on commit 4c05b5d

Please sign in to comment.