docker run ok

This commit is contained in:
yedongfu 2021-06-03 15:11:09 +08:00
parent 1fb57472e7
commit 983ac38c47
2 changed files with 14 additions and 0 deletions

6
common/conf.yml.sample Normal file
View File

@ -0,0 +1,6 @@
Mysql:
host: 'mysql'
user: 'root'
password: 'my-secret-pw'
database: 'dtm'
port: '3306'

8
dtmsvr/conf.yml.sample Normal file
View File

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