Skip to content

Commit

Permalink
goInception 默认配置 lock_wait_timeout=10 #902
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyo committed Oct 17, 2020
1 parent f8c274d commit a1236f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/docker-compose/inception/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,16 @@ backup_user = "root"
backup_password = "123456"


# 设置执行SQL时,会话变量
# 0 表示不做操作,基于远端数据库【默认值】
# > 0 值表示,会话在执行SQL 时获取锁超时的时间
lock_wait_timeout = 10

# 安全更新是否开启.
# -1 表示不做操作,基于远端数据库 [默认值]
# 0 表示关闭安全更新
# 1 表示开启安全更新
sql_safe_updates = 0
sql_safe_updates = -1

# lang = "en-US"
lang = "zh-CN"
Expand Down

0 comments on commit a1236f9

Please sign in to comment.