Neo4j timeout not working

I run some tests on Neo4j, including running a query that computes the longest shortest path of my large graph. Since I expect the request to take a very long time, I used the instructions I found here to set the timeout to 30 minutes.

I noticed that the request continued to work for a long time (I had to manually kill it), even if the timeout was set. However, this question disappeared if I set a very low timeout (for example, 10 milliseconds). Does anyone know what is going on?

Thanks in advance.

+4
source share
1 answer

- guard ( ). Neo4j .

, - . -, .

Java, , Thread , -.

Neo4j 2.3 +

Neo4j (2.3.1 ast time of writing), .

2.3 , . , , .

Plugin

, Neo4j, :

  • Neo4j GraphDatabaseService
  • ,
  • ,
+3

Source: https://habr.com/ru/post/1616170/


All Articles