Skip to content

Commit eda5726

Browse files
committed
update
1 parent 22675bf commit eda5726

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
78.2 KB
Binary file not shown.

src/main/java/io/mo/constant/COMMON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class COMMON {
1414
public static String R_FILE_SUFFIX = ".result";
1515

1616
public static int CONNECTION_ID = 0;//
17-
public static int DEFAULT_CONNECTION_NUM = 10;
17+
public static int DEFAULT_CONNECTION_NUM = 1000;
1818

1919
public static int DEFAULT_MAX_EXECUTE_TIME = 10000;
2020

src/main/java/io/mo/util/ScriptParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public static void parseScript(String path){
184184
//command.setConn_id(COMMON.NEW_SEESION_DEFAULT_ID);
185185
con_id = COMMON.NEW_SEESION_DEFAULT_ID;
186186
}else{
187-
if(id.matches("[0-9]")){
187+
if(id.matches("[0-9]+")){
188188
con_id = Integer.parseInt(id);
189189
}else {
190190
LOG.warn("["+path+"][row:"+rowNum+"]The new connection flag designate a invalid connection id by [id=X],and the id will be set to default value 1");

0 commit comments

Comments
 (0)