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

Already on GitHub? Sign in to your account

Shortest Path and Timeout configuration #2080

Open
gm2012 opened this Issue Mar 4, 2014 · 0 comments

Comments

Projects
None yet
3 participants

gm2012 commented Mar 4, 2014

I am using Java API in an embedded graph (version 1.9.4) and using the following code to get the ShortestPath -
GraphAlgoFactory.shortestPath(expander, 15)
where expander is a expander with specific relationship types.

In rare cases, the graph (which is about 28 G on a JVM sized to 10G) just spins for more than 30 minutes. Is there a way to specify the timeout so that shortestPath query is cancelled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment