Hi
I also need to implement timeout for query.Thanks for your post.
Could you explain what the meaning of execution_guard_enabled?Actually I 
asked in the post: 
https://groups.google.com/forum/#!topic/neo4j/Mzy2-oETvCI but noone answer 
it.

And I did as the link: 
http://www.markhneedham.com/blog/2013/10/17/neo4j-setting-query-timeout/
But it is not working.
I expect that if the running time of query is more than time out, it 
returns something. But neo4j still execute the query after time out. Do you 
know how to fix this?

Thanks


On Tuesday, August 19, 2014 10:06:26 AM UTC+2, Stefan Armbruster wrote:
>
> Clark, 
>
> you need to explicitly set execution_guard_enabled=false when creating 
> your GraphDatabaseService instance, e.g. via GraphDatabaseFactory. If 
> the guard is enabled, you can retrieve a reference to it using the 
> dependency manager (see 
>
> https://github.com/neo4j-contrib/rabbithole/blob/master/src/main/java/org/neo4j/community/console/GuardingRequestFilter.java#L26)
>  
>
>
> Cheers, 
> Stefan 
>
> 2014-08-18 21:00 GMT+02:00 Clark Richey <cl...@factgem.com <javascript:>>: 
>
> > We are running neo 2.04 Enterprise embedded. I was looking for a way to 
> > limit query times and found the execution guard information 
> > here..
> http://grokbase.com/t/gg/neo4j/132tqdcmvg/execution-guard-configuration-for-embedded-dbhttps://github.com/neo4j-contrib/rabbithole/blob/master/src/main/java/org/neo4j/community/console/GuardingRequestFilter.java#L56
>  
> > 
> > However, when I try to actually execute that code I notice that the 
> > GraphDatabaseAPI is deprecated and when I run it is unable to resolve 
> the 
> > dependency for Guard. Is there an up to date way to deal with this when 
> > running Embedded? Thanks! 
> > 
> > -------------------- 
> > Clark Richey, CTO 
> > FactGem 
> > 240-252-7507 
> > cl...@factgem.com <javascript:> 
> > 
> > 
> > 
> > 
> > Need immediate assistance? Please try: 
> > 
> > Cate Downing, Assistant          Beth Price, Assistant 
> > ca...@factgem.com <javascript:>                be...@factgem.com 
> <javascript:> 
> > 614.325.2404                             614.365.0740 
> > 
> > This message and any included attachments are property of FactGem and 
> its 
> > affiliates, and are intended only for the addressee(s). The information 
> > contained herein may include trade secrets or privileged or otherwise 
> > confidential information. Unauthorized review, forwarding, printing, 
> > copying, distributing, or using such information is strictly prohibited 
> and 
> > may be unlawful. If you received this message in error, or have reason 
> to 
> > believe you are not authorized to receive it, please promptly delete 
> this 
> > message and notify the sender by e-mail. Thank you. 
> > 
> > -- 
> > 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 <javascript:>. 
> > 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