주소록
private static final int BATCH_SIZE = 10000;
private static final int THREAD_COUNT = 2;
This commit is contained in:
parent
1fbab54408
commit
f8a41b8320
@ -62,11 +62,11 @@ public class AddrServiceImpl extends EgovAbstractServiceImpl implements AddrSer
|
||||
private static final String PHONE_REGEX = "^(01[016789]-?\\d{3,4}-?\\d{4})$";
|
||||
private static final Pattern PHONE_PATTERN = Pattern.compile(PHONE_REGEX);
|
||||
private static final Charset EUC_KR = Charset.forName("EUC-KR");
|
||||
private static final int BATCH_SIZE = 10000;
|
||||
// private static final int MAX_ADDR_CNT = 500000;
|
||||
//임시 500만개
|
||||
private static final int MAX_ADDR_CNT = 5000000;
|
||||
private static final int THREAD_COUNT = 1; // 적절한 스레드 수 설정
|
||||
private static final int BATCH_SIZE = 10000;
|
||||
private static final int THREAD_COUNT = 2;
|
||||
|
||||
|
||||
public List<AddrVO> selectAddrList(AddrVO addrVO) throws Exception {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user