Skip to content

Commit

Permalink
deploy: update templates
Browse files Browse the repository at this point in the history
  • Loading branch information
spinlock committed Nov 9, 2016
1 parent cfd8aa6 commit cea0feb
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/10.2.16.200_19000/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/10.2.16.201_19000/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/10.2.16.202_19000/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/10.4.10.200_19000/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/10.4.10.201_19000/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/127.0.0.1_19000/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/127.0.0.1_19001/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/root/opt/codis/etc/127.0.0.1_19002/proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down
7 changes: 7 additions & 0 deletions deploy/templates/proxy.toml.template
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ backend_send_timeout = "50s"
# Set backend pipeline buffer size.
backend_max_pipeline = 1024

# Set backend never read replica groups, default is false
backend_primary_only = false

# Set backend parallel connections per server
backend_primary_parallel = 1
backend_replica_parallel = 1

# Set backend tcp keepalive period. (0 to disable)
backend_keepalive_period = "75s"

Expand Down

0 comments on commit cea0feb

Please sign in to comment.