- 添加 Babel 配置文件支持 ES6+ 语法转换 - 添加 ESLint 忽略规则和配置文件 - 添加 Git 忽略规则文件 - 添加 Travis CI 配置文件 - 添加 1.4.2 版本变更日志文件 - 添加 Helm 图表辅助模板文件 - 添加 Helm 忽略规则文件
55 lines
1.5 KiB
YAML
55 lines
1.5 KiB
YAML
|
|
## transaction log store, only used in seata-server
|
|
store:
|
|
|
|
## store mode: file、db、redis
|
|
mode: file
|
|
## file store property
|
|
file:
|
|
## store location dir
|
|
dir: sessionStore
|
|
# branch session size , if exceeded first try compress lockkey, still exceeded throws exceptions
|
|
maxBranchSessionSize: 16384
|
|
# globe session size , if exceeded throws exceptions
|
|
maxGlobalSessionSize: 512
|
|
# file buffer size , if exceeded allocate new buffer
|
|
fileWriteBufferCacheSize: 16384
|
|
# when recover batch read size
|
|
sessionReloadReadSize: 100
|
|
# async, sync
|
|
flushDiskMode: async
|
|
## database store property
|
|
db:
|
|
## the implement of javax.sql.DataSource, such as DruidDataSource(druid)/BasicDataSource(dbcp)/HikariDataSource(hikari) etc.
|
|
datasource: druid
|
|
## mysql/oracle/postgresql/h2/oceanbase etc.
|
|
dbType: mysql
|
|
driverClassName: com.mysql.jdbc.Driver
|
|
## if using mysql to store the data, recommend add rewriteBatchedStatements=true in jdbc connection param
|
|
url: jdbc:mysql://127.0.0.1:3306/seata?rewriteBatchedStatements=true
|
|
user: mysql
|
|
password: mysql
|
|
minConn: 5
|
|
maxConn: 100
|
|
globalTable: global_table
|
|
branchTable: branch_table
|
|
lockTable: lock_table
|
|
queryLimit: 100
|
|
maxWait: 5000
|
|
## redis store property
|
|
redis:
|
|
mode: "single"
|
|
single:
|
|
host: "127.0.0.1"
|
|
port: "6379"
|
|
sentinel:
|
|
masterName: ""
|
|
sentinelHosts: ""
|
|
password: ""
|
|
database: "0"
|
|
minConn: 1
|
|
maxConn: 10
|
|
maxTotal: 100
|
|
queryLimit: 100
|
|
|