[improve](transaction) extend abort transaction time (#28662)
This commit is contained in:
committed by
GitHub
parent
d11bb11592
commit
4ee661202e
@ -1782,6 +1782,13 @@ public class Config extends ConfigBase {
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static long max_backend_heartbeat_failure_tolerance_count = 1;
|
||||
|
||||
/**
|
||||
* Abort transaction time after lost heartbeat.
|
||||
* The default value is 300s, which means transactions of be will be aborted after lost heartbeat 300s.
|
||||
*/
|
||||
@ConfField(mutable = true, masterOnly = true)
|
||||
public static int abort_txn_after_lost_heartbeat_time_second = 300;
|
||||
|
||||
/**
|
||||
* Heartbeat interval in seconds.
|
||||
* Default is 10, which means every 10 seconds, the master will send a heartbeat to all backends.
|
||||
|
||||
Reference in New Issue
Block a user