DZone Database Zone
Neo4j: Traversal Query Timeout
I’ve been spending some of my spare time over the last few weeks creating an application that generates running routes from Open Roads data — transformed and imported into Neo4j, of course!
I’ve created a user-defined procedure that combines several shortest path queries, but I wanted to exit any of these shortest path searches if they were taking too long. My code without a timeout looks like this:
No comments:
Post a Comment