From a83036c87ded8184736697ccceb143fe9bf297f5 Mon Sep 17 00:00:00 2001 From: yedongfu Date: Thu, 3 Jun 2021 17:56:14 +0800 Subject: [PATCH] conf changed --- conf.yml.sample | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 conf.yml.sample diff --git a/conf.yml.sample b/conf.yml.sample new file mode 100644 index 0000000..6506f1d --- /dev/null +++ b/conf.yml.sample @@ -0,0 +1,9 @@ +Mysql: + host: 'mysql' + user: 'root' + password: 'my-secret-pw' + database: 'dtm' + port: '3306' + +PreparedExpire: 90 # 单位秒,处于prepared中的任务,过了这个时间,查询结果还是PENDING的话,则会被cancel +TransCronInterval: 20 # 单位秒 当事务等待这个时间之后,还没有变化,则进行一轮处理,包括prepared中的任务和commited的任务