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

Render timeout too short for RasPi2 platform #1

Closed
sonntam opened this issue Apr 5, 2020 · 3 comments
Closed

Render timeout too short for RasPi2 platform #1

sonntam opened this issue Apr 5, 2020 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@sonntam
Copy link
Owner

sonntam commented Apr 5, 2020

See here.

The currently hard-coded render timeout of 10 seconds is too short. Maybe change the rendering so that no hard-coded timeout is necessary by observing the spawned process.

@sonntam sonntam self-assigned this Apr 5, 2020
@sonntam sonntam added the bug Something isn't working label Apr 5, 2020
sonntam added a commit that referenced this issue Apr 5, 2020
@sonntam
Copy link
Owner Author

sonntam commented Apr 6, 2020

The default node's state machine can take as long as 40 seconds to render on a Pi2 according to this post.

@sonntam
Copy link
Owner Author

sonntam commented Apr 7, 2020

As stated in sverweij/state-machine-cat#116 using native graphviz would be a good way around the performance issue since rendering is done in the runtime - not in the client browser.

@sonntam
Copy link
Owner Author

sonntam commented Apr 19, 2020

A couple of new features have been added:

  • Caching functionality that only need to redraw graphs if something changed or if they became too old (TTL of 4 weeks)
  • Ability to use graphviz's native dot renderer program. In order to use it it has to be available on the path.

@sonntam sonntam closed this as completed Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant