dtm/conf.sample.yml
2021-06-04 19:28:37 +08:00

9 lines
383 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Mysql:
host: 'localhost'
user: 'root'
password: 'my-secret-pw'
port: '3306'
PreparedExpire: 90 # 单位秒处于prepared中的任务过了这个时间查询结果还是PENDING的话则会被cancel
TransCronInterval: 20 # 单位秒 当事务等待这个时间之后还没有变化则进行一轮重试处理包括prepared中的任务和commited的任务