dtm/dtmsvr/config.go
2021-07-04 09:36:16 +08:00

13 lines
320 B
Go
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.

package dtmsvr
type dtmsvrConfig struct {
TransCronInterval int64 // 单位秒 当事务等待这个时间之后还没有变化则进行一轮处理包括prepared中的任务和commited的任务
Mysql map[string]string
}
var config = &dtmsvrConfig{
TransCronInterval: 10,
}
var dbName = "dtm"