Skip to content

Commit

Permalink
remove user-facing option to enable handlers since it's on by default…
Browse files Browse the repository at this point in the history
… for now
  • Loading branch information
paleolimbot committed Sep 16, 2022
1 parent e532dc1 commit 22fbeed
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 36 deletions.
1 change: 0 additions & 1 deletion r/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ export(decimal256)
export(default_memory_pool)
export(dictionary)
export(duration)
export(enable_cancel_from_interrupt)
export(ends_with)
export(everything)
export(field)
Expand Down
6 changes: 3 additions & 3 deletions r/R/arrow-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ supported_dplyr_methods <- list(
configure_tzdb()
}

# set interrupt handlers
enable_cancel_from_interrupt(TRUE)
# Set interrupt handlers
SetEnableSignalStopSource(TRUE)

# register extension types that we use internally
# Register extension types that we use internally
reregister_extension_type(vctrs_extension_type(vctrs::unspecified()))

invisible()
Expand Down
12 changes: 0 additions & 12 deletions r/R/config.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,3 @@ set_io_thread_count <- function(num_threads) {
SetIOThreadPoolCapacity(as.integer(num_threads))
invisible(current_io_thread_count)
}

#' Enable cancel of long-running Arrow operations
#'
#' @param enabled Use `TRUE` to turn on cancellation of long-running
#' Arrow operations where this is supported; use `FALSE` to disable.
#' Using `TRUE` is currently experimental.
#'
#' @return The previous value of `enabled`, invisibly
#' @export
enable_cancel_from_interrupt <- function(enabled = TRUE) {
invisible(SetEnableSignalStopSource(enabled))
}
1 change: 0 additions & 1 deletion r/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ reference:
- install_arrow
- install_pyarrow
- create_package_with_all_dependencies
- enable_cancel_from_interrupt

repo:
jira_projects: [ARROW]
Expand Down
19 changes: 0 additions & 19 deletions r/man/enable_cancel_from_interrupt.Rd

This file was deleted.

0 comments on commit 22fbeed

Please sign in to comment.