Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work around multihreading issue #159

Open
maxheld83 opened this issue Feb 26, 2021 · 1 comment
Open

work around multihreading issue #159

maxheld83 opened this issue Feb 26, 2021 · 1 comment
Labels
Milestone

Comments

@maxheld83
Copy link
Contributor

there appears #158 to be an issue with multithreading, where several API requests by the same machine (same IP) appear to lock one another.
Potentially because of issues with the handle #158.

If that can be reprexed, the solutions are, in order of preference:

  1. use shiny promises to queue the render jobs in the background, so there's always only one of them working at any one time.
    (If that is possible, I am not sure)
    To clarify, the issue here is not whether the Alice's shiny session is blocked by Bob, or by Alice, but whether a job started by Alice can wait for all other jobs to be finished.
  2. hack around this limitation with purrr and exp backoff.
  3. Call crossref directly with httr, though it would need to be reprexed whether this is an issue.
@maxheld83 maxheld83 added this to the Wide Release milestone Mar 5, 2021
@maxheld83 maxheld83 added the api label Mar 19, 2021
@maxheld83
Copy link
Contributor Author

would be obviated by #233

@maxheld83 maxheld83 modified the milestones: Intl Release, Metacheck 2.0 Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant