From d441ff494595bcb2ce46588d8c656f47890c23cc Mon Sep 17 00:00:00 2001 From: yedf2 <120050102@qq.com> Date: Fri, 29 Oct 2021 10:16:51 +0800 Subject: [PATCH] add TimeoutToFail RetryInterval --- conf.sample.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf.sample.yml b/conf.sample.yml index 55d8e63..f79e598 100644 --- a/conf.sample.yml +++ b/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