Skip to content

Commit b2c23c4

Browse files
author
Suleimi Ahmed
committed
Registry: add database primary configuration
1 parent 6fecf7a commit b2c23c4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

files/gitlab-config-template/gitlab.rb.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,7 @@ external_url 'GENERATED_EXTERNAL_URL'
10001000
# 'connecttimeout' => '5s',
10011001
# 'draintimeout' => '2m',
10021002
# 'preparedstatements' => false,
1003+
# 'primary' => 'primary.record.fqdn',
10031004
# 'pool' => {
10041005
# 'maxidle' => 25,
10051006
# 'maxopen' => 25,

spec/chef/cookbooks/registry/recipes/registry_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
"connecttimeout" => "5s",
158158
"draintimeout" => "2m",
159159
"preparedstatements" => false,
160+
"primary" => "primary.record.fqdn",
160161
"pool" => {
161162
"maxidle" => 25,
162163
"maxopen" => 25,

0 commit comments

Comments
 (0)