DB: driver: 'mysql' host: 'localhost' user: 'root' password: '' port: '3306' max_open_conns: '500' max_idle_conns: '500' conn_max_life_time: '5' # driver: 'postgres' # host: 'localhost' # user: 'postgres' # password: 'mysecretpassword' # port: '5432' # max_open_conns: 'dbmaxopenconns' # max_idle_conns: 'dbmaxidleconns' # conn_max_life_time: 'dbconnmaxlifetime' # 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