Actually, if I config 

org.neo4j.server.webserver.limit.executiontime=1000
but I use neo4j-shell. It also doesn't work.

Could you explain a bit for me?
Thanks


On Monday, October 13, 2014 12:21:40 PM UTC+2, Alex winter wrote:
>
> Thank Michael.
> Actually I found the article and I did it before posting question here.
> It works if I open neo4j and use localhost:7474/admin and run the query. 
> In the case I use rest to access neo4j, I can have neo4j wrap, neo4j 
> server, neo4j database property file
>
> But for java application, it doesn't work. 
> You could see that parameter:
>
> org.neo4j.server.webserver.limit.executiontime=1000)  I think it is only for 
> neo4j used as webserver. 
>
> - In java application, how I can setup configuration for neo4j server? and 
> what is the parameter config?
> (I can set up property of database through: 
> db = new GraphDatabaseFactory()
>                               .newEmbeddedDatabaseBuilder(pathNeo4jDatabase)
>                               
> .loadPropertiesFromFile(pathConfigFile).newGraphDatabase();)
> Is it apply for Neo4j server?
>
>
> On Monday, October 13, 2014 11:45:58 AM UTC+2, Michael Hunger wrote:
>>
>> Mark wrote it up here: 
>> http://www.markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/ 
>> <http://www.google.com/url?q=http%3A%2F%2Fwww.markhneedham.com%2Fblog%2F2013%2F10%2F17%2Fneo4j-setting-query-timeout%2F&sa=D&sntz=1&usg=AFQjCNELDO6AvPqN7D_LsoUOG_mCJKaM4g>
>>
>> On Mon, Oct 13, 2014 at 11:31 AM, Alex winter <winter...@gmail.com> 
>> wrote:
>>
>>> Hi.
>>> I create application with Neo4j.
>>> I want to set the time out for Neo4j server when I execute cypher query 
>>> or java api function in my application.It means if after timeout, neo4j 
>>> server will turn off database and start do execute next query.
>>> How I can do this?
>>>
>>> Thanks
>>>
>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Neo4j" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to neo4j+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to