Skip to content

Commit a8ed1b9

Browse files
authored
Smaller batch size for cleanup (#848)
1 parent 47db433 commit a8ed1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/test/java/org/neo4j/driver/util/TestUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ private static int deleteBatchOfNodes( Session session )
687687
{
688688
return session.writeTransaction( tx ->
689689
{
690-
Result result = tx.run( "MATCH (n) WITH n LIMIT 10000 DETACH DELETE n RETURN count(n)" );
690+
Result result = tx.run( "MATCH (n) WITH n LIMIT 1000 DETACH DELETE n RETURN count(n)" );
691691
return result.single().get( 0 ).asInt();
692692
} );
693693
}

0 commit comments

Comments
 (0)