Skip to content

Conversation

@hadley
Copy link
Member

@hadley hadley commented Jun 18, 2025

I can't see any way to test this, but I experimented interactively with this code:

library(httr2)
request_base <- request(example_url())
reqs <- rep(list(request_base |> req_url_path("/delay/0.1")), 100)
repeat(req_perform_parallel(reqs))

Fixes #720

I can't see any way to test this, but I experimented interactively with this code:

```R
library(httr2)
request_base <- request(example_url())
reqs <- rep(list(request_base |> req_url_path("/delay/0.1")), 100)
repeat(req_perform_parallel(reqs))
```

Fixes #1810
Copy link
Member

@shikokuchuo shikokuchuo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good from my perspective.

Co-authored-by: Charlie Gao <53399081+shikokuchuo@users.noreply.github.com>
@hadley
Copy link
Member Author

hadley commented Jun 18, 2025

Thanks for the review!

@hadley hadley merged commit e0c71f7 into main Jun 18, 2025
13 checks passed
@hadley hadley deleted the esacpe-interrupts branch June 18, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Parallel interrupts problem

3 participants