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
Post a Comment