Skip to content

Commit 6e24e2f

Browse files
committed
set default router quota to 20_000_000
1 parent a73e5e1 commit 6e24e2f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

internal/venice-client-common/src/main/java/com/linkedin/venice/VeniceConstants.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,10 @@ public class VeniceConstants {
1111
public static final String SYSTEM_STORE_OWNER = "venice-internal";
1212

1313
/**
14-
* Default per router max read quota; notice that this value is used in controller;
15-
* the actual per router max read quota is defined as a router config "max.read.capacity".
16-
*
17-
* TODO: Support common configs among different components, so that we can define the config value once
18-
* and used everywhere.
14+
* The default max read quota per router defined in "max.read.capacity". This value is used in both
15+
* the controller and router
1916
*/
20-
public static final int DEFAULT_PER_ROUTER_READ_QUOTA = 20_000_000;
21-
22-
public static final int MAX_ROUTER_READ_CAPACITY_CU = 100000;
17+
public static final int MAX_ROUTER_READ_CAPACITY_CU = 20_000_000;
2318

2419
/**
2520
* Compute request version 2.

0 commit comments

Comments
 (0)