python - how do I abort a query in py2neo? -


i'm developing web app gui neo4j dataset have here @ organization. app in python (i'm using flask+tornado) , i'm using py2neo connect neo4j. things work fine, query take long execute , continues executing if user closes tab or browser (or clicks button stops loading page). so, how can have query aborted when user closes tab or browser or clicks stop button?

long running queries - can set following 2 parameters in neo4j.properties: -

execution_guard_enabled=true # milliseconds org.neo4j.server.webserver.limit.executiontime=20000 

as of not see option available in py2neo directly kill request, except setting http timeouts in py2neo libs


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -