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的任务