Skip to content

Commit bc0eab6

Browse files
authored
Smaller chunks, more iterations
1 parent 4db5808 commit bc0eab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uk/ac/ebi/vfb/neo4j/neo4j_kb_export.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def clear_query_caches(kb, user, password):
4545

4646
# Function to export entities in chunks
4747
def export_entities(kb, user, password, entity_count, outfile, delay=30):
48-
page_size = (entity_count // 4) + 10 # Create 4 chunks
48+
page_size = min(5000, (entity_count // 10) + 10) # Smaller chunks, more iterations
4949
page_start = 0
5050
page_count = 0
5151

0 commit comments

Comments
 (0)