Skip to content

Commit

Permalink
White lie
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Oct 3, 2021
1 parent 20a693d commit d6c90c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/internals.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
if (!is.null(reset)) {
# sleep as indicated, and then retry at most twice
sleeps <- c(ceiling(as.numeric(reset) - as.numeric(Sys.time())), 1, 1)
message("ClickUp API: Rate limit reached, sleeping for ", sleeps, " seconds", appendLF = FALSE)
message("ClickUp API: Rate limit reached, sleeping for ", sleeps[[1]], " seconds", appendLF = FALSE)
} else {
sleeps <- c(1, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4)
# sum(sleeps) >= 60
Expand Down

0 comments on commit d6c90c0

Please sign in to comment.