Skip to content

Commit

Permalink
drainer: add read-timeout configuration explanation (#11674) (#11682)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Oct 19, 2022
1 parent ee15a7b commit 4944b87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tidb-binlog/tidb-binlog-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ tbl-name = "~^a.*"
* `port`:如果没有设置,会尝试检查环境变量 `MYSQL_PORT`,默认值为 `3306`
* `user`:如果没有设置,会尝试检查环境变量 `MYSQL_USER`,默认值为 `"root"`
* `password`:如果没有设置,会尝试检查环境变量 `MYSQL_PSWD`,默认值为 `""`
* `read-timeout`:指定下游数据库连接的 IO 读取超时时间,默认值为 `1m`。如果 drainer 在一些耗时长的 DDL 上不断失败,你可以将这个变量设置为更大的值。

#### file

Expand Down

0 comments on commit 4944b87

Please sign in to comment.