Skip to content

Commit

Permalink
perf($MySQL): MySQL connection retry
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Jul 7, 2021
1 parent a12f130 commit b076feb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/config/mysql-server/slave-1/mysql-slave.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,6 @@ read-only=ON
skip-log-bin
skip-log-slave-updates
skip-slave-start
replicate-ignore-db=mysql
# 60 seconds, https://www.mayanpeng.cn/archives/77.html
master-connect-retry=60

0 comments on commit b076feb

Please sign in to comment.