Set mysqlmon timeouts to 10 seconds
The backend timeouts should help prevent disconnections.
This commit is contained in:
@ -11,9 +11,9 @@ monitor_interval=1000
|
||||
detect_standalone_master=true
|
||||
failcount=2
|
||||
allow_cluster_recovery=false
|
||||
backend_connect_timeout=2
|
||||
backend_read_timeout=3
|
||||
backend_write_timeout=3
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
|
@ -16,6 +16,9 @@ auto_rejoin=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
ignore_external_masters=true
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
|
@ -14,9 +14,9 @@ allow_cluster_recovery=true
|
||||
auto_failover=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=15
|
||||
backend_read_timeout=15
|
||||
backend_write_timeout=15
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
|
@ -13,9 +13,9 @@ failcount=1
|
||||
allow_cluster_recovery=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=15
|
||||
backend_read_timeout=15
|
||||
backend_write_timeout=15
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
|
@ -13,7 +13,9 @@ detect_standalone_master=true
|
||||
auto_failover=false
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=1
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -13,7 +13,9 @@ detect_standalone_master=true
|
||||
auto_failover=false
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=1
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
|
@ -13,7 +13,9 @@ detect_standalone_master=true
|
||||
auto_failover=false
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=1
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -14,7 +14,9 @@ auto_failover=true
|
||||
auto_rejoin=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=1
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -13,7 +13,9 @@ detect_standalone_master=true
|
||||
auto_failover=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=1
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -14,7 +14,9 @@ auto_failover=true
|
||||
auto_rejoin=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=1
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -14,9 +14,9 @@ auto_failover=true
|
||||
auto_rejoin=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=5
|
||||
backend_read_timeout=5
|
||||
backend_write_timeout=5
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -13,9 +13,9 @@ failcount=1
|
||||
allow_cluster_recovery=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=3
|
||||
backend_read_timeout=3
|
||||
backend_write_timeout=3
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
auto_failover=true
|
||||
auto_rejoin=true
|
||||
|
||||
|
@ -13,9 +13,9 @@ failcount=1
|
||||
allow_cluster_recovery=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=3
|
||||
backend_read_timeout=3
|
||||
backend_write_timeout=3
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
auto_failover=true
|
||||
|
||||
[RW Split Router]
|
||||
|
@ -14,9 +14,9 @@ auto_failover=false
|
||||
auto_rejoin=true
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=5
|
||||
backend_read_timeout=5
|
||||
backend_write_timeout=5
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
@ -14,9 +14,9 @@ auto_failover=false
|
||||
auto_rejoin=false
|
||||
replication_user=repl
|
||||
replication_password=repl
|
||||
backend_connect_timeout=5
|
||||
backend_read_timeout=5
|
||||
backend_write_timeout=5
|
||||
backend_connect_timeout=10
|
||||
backend_read_timeout=10
|
||||
backend_write_timeout=10
|
||||
|
||||
[RW-Split-Router]
|
||||
type=service
|
||||
|
Reference in New Issue
Block a user