|
|
|
@ -19,16 +19,12 @@ transport {
|
|
|
|
|
#auto default pin or 8
|
|
|
|
|
worker-thread-size = 8
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
store {
|
|
|
|
|
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
|
|
|
|
|
max-branch-session-size = 16384
|
|
|
|
|
# globe session size , if exceeded throws exceptions
|
|
|
|
|
max-global-session-size = 512
|
|
|
|
|
# file buffer size , if exceeded allocate new buffer
|
|
|
|
|
file-write-buffer-cache-size = 16384
|
|
|
|
|
# when recover batch read size
|
|
|
|
|
session.reload.read_size = 100
|
|
|
|
|
shutdown {
|
|
|
|
|
# when destroy server, wait seconds
|
|
|
|
|
wait = 3
|
|
|
|
|
}
|
|
|
|
|
serialization = "seata"
|
|
|
|
|
compressor = "none"
|
|
|
|
|
}
|
|
|
|
|
service {
|
|
|
|
|
#vgroup->rgroup
|
|
|
|
@ -39,6 +35,9 @@ service {
|
|
|
|
|
enableDegrade = false
|
|
|
|
|
#disable
|
|
|
|
|
disable = false
|
|
|
|
|
#unit ms,s,m,h,d represents milliseconds, seconds, minutes, hours, days, default permanent
|
|
|
|
|
max.commit.retry.timeout = "-1"
|
|
|
|
|
max.rollback.retry.timeout = "-1"
|
|
|
|
|
}
|
|
|
|
|
client {
|
|
|
|
|
async.commit.buffer.limit = 10000
|
|
|
|
@ -46,4 +45,18 @@ client {
|
|
|
|
|
retry.internal = 10
|
|
|
|
|
retry.times = 30
|
|
|
|
|
}
|
|
|
|
|
report.retry.count = 5
|
|
|
|
|
}
|
|
|
|
|
transaction {
|
|
|
|
|
undo.data.validation = true
|
|
|
|
|
undo.log.serialization = "jackson"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
## metrics settings
|
|
|
|
|
metrics {
|
|
|
|
|
enabled = false
|
|
|
|
|
registry-type = "compact"
|
|
|
|
|
# multi exporters use comma divided
|
|
|
|
|
exporter-list = "prometheus"
|
|
|
|
|
exporter-prometheus-port = 9898
|
|
|
|
|
}
|