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 <[email protected]>:
> 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
> [email protected]
>
>
>
>
> Need immediate assistance? Please try:
>
> Cate Downing, Assistant          Beth Price, Assistant
> [email protected]                [email protected]
> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to