Skip to content

Commit

Permalink
Remove thottle limits.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfsaldanha committed Mar 25, 2024
1 parent ee4244f commit 592ee71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion R/check_text.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ check_text <- function(text, language = "auto"){
`language` = language,
`enabledOnly` = "false"
) |>
httr2::req_throttle(rate = 20/60) |>
httr2::req_retry() |>
httr2::req_perform() |>
httr2::resp_body_json()
Expand Down
1 change: 0 additions & 1 deletion R/get_languages.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ get_languages <- function(){
}

res <- httr2::request(base_url = "https://api.languagetool.org/v2/languages") |>
httr2::req_throttle(rate = 20/60) |>
httr2::req_retry() |>
httr2::req_perform() |>
httr2::resp_body_json() |>
Expand Down

0 comments on commit 592ee71

Please sign in to comment.