Friday, November 03, 2017

Neo4j: Traversal Query Timeout

DZone Database Zone
Neo4j: Traversal Query Timeout
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:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...