Skip to content

Commit

Permalink
Merge pull request #39 from ndexbio/develop
Browse files Browse the repository at this point in the history
Bump up the edge count upper limit of cx2Creator. Modify
  • Loading branch information
jingjingbic authored May 27, 2021
2 parents 7ac62b2 + 62aa2a0 commit dd09838
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private static void rebuildAllLocalIdx() throws SQLException, JsonParseExceptio
try (NetworkDAO dao = new NetworkDAO ()) {
@SuppressWarnings("resource")
Connection db = dao.getDBConnection();
String sqlStr = "select \"UUID\" from network n where n.iscomplete and n.is_deleted=false and n.is_validated and n.islocked=false and n.error is null and nodecount >= "
String sqlStr = "select \"UUID\" from network n where n.iscomplete and n.is_deleted=false and n.is_validated and n.islocked=false and n.error is null and cx2_file_size is not null and nodecount >= "
+ SingleNetworkSolrIdxManager.AUTOCREATE_THRESHHOLD ;

int i = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class CX2NetworkCreator {
/**
* Skip any networks that exceed this edge count
*/
private static final int edgeCountLimit = 20*1000000;
private static final int edgeCountLimit = 65*1000000;

/**
* Number of workers to concurrently process networks below
Expand Down

0 comments on commit dd09838

Please sign in to comment.