Skip to content

Commit

Permalink
Change neo4j import queue size defaults
Browse files Browse the repository at this point in the history
Intended to speed up the hetnet importation into Neo4j.
See #5
  • Loading branch information
veleritas authored and dhimmel committed Mar 2, 2017
1 parent bf8f548 commit d026d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hetio/neo4j.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Avoid SocketError
py2neo.packages.httpstream.http.socket_timeout = 1e8

def export_neo4j(graph, uri, node_queue=100, edge_queue=100, show_progress=False):
def export_neo4j(graph, uri, node_queue=200, edge_queue=5, show_progress=False):
"""Export hetnet to neo4j"""

if isinstance(uri, py2neo.Graph):
Expand Down

0 comments on commit d026d13

Please sign in to comment.