Skip to content

Commit

Permalink
change default value
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Kao <[email protected]>
  • Loading branch information
seankao-az committed Jan 10, 2025
1 parent 6de6429 commit 7c2c734
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ public class FlintOptions implements Serializable {
public static final String BULK_REQUEST_MIN_RATE_LIMIT_PER_NODE = "write.bulk.rate_limit_per_node.min";
public static final String DEFAULT_BULK_REQUEST_MIN_RATE_LIMIT_PER_NODE = "5000";
public static final String BULK_REQUEST_MAX_RATE_LIMIT_PER_NODE = "write.bulk.rate_limit_per_node.max";
public static final String DEFAULT_BULK_REQUEST_MAX_RATE_LIMIT_PER_NODE = "500000";
public static final String DEFAULT_BULK_REQUEST_MAX_RATE_LIMIT_PER_NODE = "50000";
public static final String BULK_REQUEST_RATE_LIMIT_PER_NODE_INCREASE_STEP = "write.bulk.rate_limit_per_node.increase_step";
public static final String DEFAULT_BULK_REQUEST_RATE_LIMIT_PER_NODE_INCREASE_STEP = "1000";
public static final String DEFAULT_BULK_REQUEST_RATE_LIMIT_PER_NODE_INCREASE_STEP = "500";
public static final String BULK_REQUEST_RATE_LIMIT_PER_NODE_DECREASE_RATIO = "write.bulk.rate_limit_per_node.decrease_ratio";
public static final String DEFAULT_BULK_REQUEST_RATE_LIMIT_PER_NODE_DECREASE_RATIO = "0.8";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class FlintSparkConfSuite extends FlintSuite {
val options = FlintSparkConf().flintOptions()
options.getBulkRequestRateLimitPerNodeEnabled shouldBe false
options.getBulkRequestMinRateLimitPerNode shouldBe 5000
options.getBulkRequestMaxRateLimitPerNode shouldBe 500000
options.getBulkRequestRateLimitPerNodeIncreaseStep shouldBe 1000
options.getBulkRequestMaxRateLimitPerNode shouldBe 50000
options.getBulkRequestRateLimitPerNodeIncreaseStep shouldBe 500
options.getBulkRequestRateLimitPerNodeDecreaseRatio shouldBe 0.8
}

Expand Down

0 comments on commit 7c2c734

Please sign in to comment.