Commit 58e836b 1 parent eb79d50 commit 58e836b Copy full SHA for 58e836b
File tree 2 files changed +2
-2
lines changed
dingo-common/src/main/java/io/dingodb/common/mysql/scope
dingo-executor/src/main/java/io/dingodb/server/executor/prepare
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public static boolean getJob2Table() {
131
131
132
132
public static boolean getNeedGc () {
133
133
try {
134
- String jobNeedGc = executorProp .getOrDefault ("job_need_gc" , "off " ).toString ();
134
+ String jobNeedGc = executorProp .getOrDefault ("job_need_gc" , "on " ).toString ();
135
135
return jobNeedGc .equals ("on" );
136
136
} catch (Exception e ) {
137
137
return false ;
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ public static List<Object[]> getGlobalVariablesList() {
279
279
values .add (new Object []{"txn_retry" , "off" });
280
280
values .add (new Object []{"txn_retry_cnt" , "0" });
281
281
values .add (new Object []{"enable_safe_point_update" , "1" });
282
- values .add (new Object []{"txn_history_duration" , String .valueOf (60 * 10 )});
282
+ values .add (new Object []{"txn_history_duration" , String .valueOf (60 * 3 )});
283
283
values .add (new Object []{"slow_query_enable" , "on" });
284
284
values .add (new Object []{"slow_query_threshold" , "5000" });
285
285
values .add (new Object []{"sql_profile_enable" , "on" });
You can’t perform that action at this time.
0 commit comments