Browse Source

add TimeoutToFail RetryInterval

pull/44/head
yedf2 4 years ago
parent
commit
d441ff4945
  1. 6
      conf.sample.yml

6
conf.sample.yml

@ -9,4 +9,8 @@ DB:
# user: 'postgres'
# password: 'mysecretpassword'
# port: '5432'
TransCronInterval: 10 # 单位秒 当事务等待这个时间之后,还没有变化,则进行一轮重试处理,包括prepared中的任务和commited的任务
# the unit of following configurations is second
# TransCronInterval: 3 # the interval to poll unfinished global transaction for every dtm process
# TimeoutToFail: 35 # timeout for XA, TCC to fail. saga's timeout default to infinite, which can be overwritten in saga options
# RetryInterval: 10 # the subtrans branch will be retried after this interval

Loading…
Cancel
Save