Skip to content

Commit

Permalink
Increase waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman committed Nov 30, 2023
1 parent d3b090f commit c4e8a07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MGnifyR
Type: Package
Version: 0.99.8
Version: 0.99.9
Authors@R:
c(person(given = "Tuomas", family = "Borman", role = c("aut", "cre"),
email = "[email protected]",
Expand Down
8 changes: 4 additions & 4 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@
#' @importFrom httr timeout
.mgnify_retrieve_json <- function(
client, path = "biomes", complete_url = NULL, qopts = NULL,
max.hits = 200, time.out = 10, Debug = FALSE, use.cache = useCache(client),
show.warnings = showWarnings(client), clear.cache = clearCache(client),
url.address = databaseUrl(client), auth.tok = authTok(client),
cache.dir = cacheDir(client), ...){
max.hits = 200, time.out = 60, Debug = FALSE,
use.cache = useCache(client), show.warnings = showWarnings(client),
clear.cache = clearCache(client), url.address = databaseUrl(client),
auth.tok = authTok(client), cache.dir = cacheDir(client), ...){
# Input check
if( !.is_an_integer(time.out) ){
stop(
Expand Down

0 comments on commit c4e8a07

Please sign in to comment.