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

Increase orca retry timeout #1297

Closed
jonmmease opened this issue Dec 5, 2018 · 2 comments
Closed

Increase orca retry timeout #1297

jonmmease opened this issue Dec 5, 2018 · 2 comments
Milestone

Comments

@jonmmease
Copy link
Contributor

As reported in plotly/orca#164, the current policy of retrying the first image export for up to 8 seconds is not always sufficient.

plotly.py/plotly/io/_orca.py

Lines 1194 to 1195 in a9fa5de

@retrying.retry(wait_random_min=5, wait_random_max=10, stop_max_delay=8000)
def request_image_with_retrying(**kwargs):

Lets increase this to 30 seconds to be on the safe side.

@jonmmease
Copy link
Contributor Author

In the meantime, see workaround in plotly/orca#164 (comment)

@RylanSchaeffer
Copy link

I run into timeout issues when creating a scatter plot with 2^20 points. The following doesn't help:

plotly.io.orca.ensure_server()
time.sleep(10)

Any other suggestions?

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

No branches or pull requests

2 participants