Skip to content

Commit

Permalink
refact: unify max depth (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
imbajin authored Jan 12, 2022
1 parent 6a05f0f commit 0b11105
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 @@ -34,5 +34,5 @@ public class Traverser {
public static final long DEFAULT_PAGE_LIMIT = 100_000L;
public static final double DEFAULT_ALPHA = 0.9;
public static final int DEFAULT_MAX_TOP = 1000;
public static final int DEFAULT_MAX_DEPTH = 50;
public static final int DEFAULT_MAX_DEPTH = 5000;
}
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public void testPersonalRankWithInvalidParams() {
Assert.assertThrows(IllegalArgumentException.class, () -> {
PersonalRankAPI.Request.Builder builder;
builder = PersonalRankAPI.Request.builder();
builder.maxDepth(51);
builder.maxDepth(10000);
});
}

Expand Down

0 comments on commit 0b11105

Please sign in to comment.