neo4j-contrib / java-rest-binding

Java Bindings for the Neo4J Server REST API, providing an implementation of GraphDatabaseService
Other
120 stars 72 forks source link

Rest Query Socket timeout control #5

Open msduk opened 12 years ago

msduk commented 12 years ago

org.neo4j.rest.graphdb.query.RestCypherQueryEngine.query()

When calling this method it would be useful to be able to control the timeout of the underlying socket. The current read timeout appears to be 30 seconds by default.

rmelisson commented 11 years ago

You can at least customize it by using the system property org.neo4j.rest.read_timeout But yeah, that would be great to be able to specify it per query.