Skip to content

Commit

Permalink
Update spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed May 18, 2022
1 parent 6d70a45 commit 9a0f052
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/rrq_controller.R
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ rrq_controller <- R6::R6Class(
##' @description Fetch times for tasks at points in their life cycle.
##' For each task returns the time of submission, starting
##' and completion (not necessarily successfully; this includes
##' errors and interruptions). If a task has not reacched a point
##' errors and interruptions). If a task has not reached a point
##' yet (e.g., submitted but not run, or running but not finished)
##' the time will be `NA`). Times are returned in unix timestamp
##' format in UTC; you can use [redux::redis_time_to_r] to convert
Expand Down
2 changes: 2 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CodeFactor
HPC
POSIXt
Rdata
Redis
WIP
Expand Down Expand Up @@ -34,6 +35,7 @@ pid
rds
redis
rrq's
segfaults
storr
undeferred
unpauses
Expand Down
2 changes: 1 addition & 1 deletion man/rrq_controller.Rd

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

2 changes: 1 addition & 1 deletion vignettes/rrq.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ If you use many workers, particularly on different machines, you may not notice

By default, if this happens when your worker is running a task, that task status will forever be stuck in `RUNNING`.

`rrq` provides a simple heartbeat process, if requested, to detect when a worker has disppeared. To do this, we run a second process on each worker that periodically writes to the Redis database on a key that will expire in a time slightly longer than that period, in effect making a [dead man's switch](https://en.wikipedia.org/wiki/Dead_man%27s_switch) - see `rrq::rrq_heartbeat` for details.
`rrq` provides a simple heartbeat process, if requested, to detect when a worker has disappeared. To do this, we run a second process on each worker that periodically writes to the Redis database on a key that will expire in a time slightly longer than that period, in effect making a [dead man's switch](https://en.wikipedia.org/wiki/Dead_man%27s_switch) - see `rrq::rrq_heartbeat` for details.

To enable the heartbeat, save a worker configuration with the `heartbeat_period` set to some number of seconds. Below we use 2 seconds so that this example runs reasonably quickly, but in practice something like 60 might be slightly less load on your Redis server.

Expand Down
2 changes: 1 addition & 1 deletion vignettes_src/rrq.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ If you use many workers, particularly on different machines, you may not notice

By default, if this happens when your worker is running a task, that task status will forever be stuck in `RUNNING`.

`rrq` provides a simple heartbeat process, if requested, to detect when a worker has disppeared. To do this, we run a second process on each worker that periodically writes to the Redis database on a key that will expire in a time slightly longer than that period, in effect making a [dead man's switch](https://en.wikipedia.org/wiki/Dead_man%27s_switch) - see `rrq::rrq_heartbeat` for details.
`rrq` provides a simple heartbeat process, if requested, to detect when a worker has disappeared. To do this, we run a second process on each worker that periodically writes to the Redis database on a key that will expire in a time slightly longer than that period, in effect making a [dead man's switch](https://en.wikipedia.org/wiki/Dead_man%27s_switch) - see `rrq::rrq_heartbeat` for details.

To enable the heartbeat, save a worker configuration with the `heartbeat_period` set to some number of seconds. Below we use 2 seconds so that this example runs reasonably quickly, but in practice something like 60 might be slightly less load on your Redis server.

Expand Down

0 comments on commit 9a0f052

Please sign in to comment.