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 @@ -213,8 +213,8 @@ public class LocationUtil {
213213 private static final int TEMPLATE_PART_ID = -1 ;
214214
215215 // limit the size of get tableEntry location from remote each time
216- private static final int MAX_TABLET_NUMS_EPOCH = 300 ;
217- private static final int TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD = 100 ;
216+ private static final int MAX_TABLET_NUMS_EPOCH = Integer . parseInt ( System . getProperty ( "max.table.num.epoch" , " 300" )) ;
217+ private static final int TABLE_ENTRY_LOCATION_REFRESH_THRESHOLD = Integer . parseInt ( System . getProperty ( "table.entry.location.refresh.threshold" , " 100" )) ;
218218
219219 private abstract static class TableEntryRefreshWithPriorityCallback <T > {
220220 abstract T execute (ObServerAddr obServerAddr ) throws ObTableEntryRefreshException ;
You can’t perform that action at this time.
0 commit comments