File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/com/alipay/oceanbase/rpc/location Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -212,8 +212,8 @@ public class LocationUtil {
212212 private static final int TEMPLATE_PART_ID = -1 ;
213213
214214 // limit the size of get tableEntry location from remote each time
215- private static final int MAX_TABLET_NUMS_EPOCH = 300 ;
216- private static final int TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD = 100 ;
215+ private static final int MAX_TABLET_NUMS_EPOCH = Integer . parseInt ( System . getProperty ( "max.table.num.epoch" , " 300" )) ;
216+ private static final int TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD = Integer . parseInt ( System . getProperty ( "table.entry.location.refresh.threshold" , " 100" )) ;
217217
218218 private abstract static class TableEntryRefreshWithPriorityCallback <T > {
219219 abstract T execute (ObServerAddr obServerAddr ) throws ObTableEntryRefreshException ;
You can’t perform that action at this time.
0 commit comments