And if you follow the code, it does the hard-core action if the limit is 
reached.

if ((Long)result.get("nodes")>=MAX_NODES_TO_DELETE) {
                result.putAll(cleanDbDirectory(database));
}

Michael

Am 07.12.2011 um 00:38 schrieb Krzysztof Raczyński:

> Hello Michael, I glanced through plugin's source code, and spank me if
> i'm wrong, but is the plugging limited to removing only 1k nodes at a
> time?
> 
> https://github.com/jexp/neo4j-clean-remote-db-addon/blob/master/src/main/java/org/neo4j/server/extension/test/delete/DeleteDatabaseResource.java#L58
> 
> calls
> 
> https://github.com/jexp/neo4j-clean-remote-db-addon/blob/master/src/main/java/org/neo4j/server/extension/test/delete/Neo4jDatabaseCleaner.java#L32
> 
> With a 1k limit. Maybe it's just a type, and you intended to use the
> parameter-less version of the function?
> 
> cheers and thanks for answers
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to