Skip to content
Snippets Groups Projects
Verified Commit 169891c2 authored by Bence Nagy's avatar Bence Nagy Committed by Balasankar C
Browse files

Allow configuration of prepared statement caching in Rails

parent d1a3d845
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -11,6 +11,7 @@ are not the same (O Schwede) c4e83c5
- Add configuration options for GitLab container registry to support notification endpoints to template (Alexandre Gomes) ef9b0f255
- Update curl to 7.53.0 38aea7179
- Update directory configuration structure to allow multiple settings per data directory
<<<<<<< HEAD
- Remove mailroom configuration template, reuse the default from GitLab 5511b246
- Remove deprecated standalone GitLab CI configuration ad126ba
- Expose configuration for HSTS which was removed from GitLab Rails f5919f
Loading
Loading
@@ -33,6 +34,7 @@ are not the same (O Schwede) c4e83c5
- Gitaly service on by default 350dea
- Update Nginx to 1.10.3
- Added support for configuring hosts for database load balancing
- Allow configuration of prepared statement caching in Rails
 
8.17.3
 
Loading
Loading
Loading
Loading
@@ -335,6 +335,8 @@ external_url 'GENERATED_EXTERNAL_URL'
# gitlab_rails['db_socket'] = nil
# gitlab_rails['db_sslmode'] = nil
# gitlab_rails['db_sslrootcert'] = nil
# gitlab_rails['db_prepared_statements'] = true
# gitlab_rails['db_statements_limit'] = 1000
 
 
### GitLab Redis settings
Loading
Loading
Loading
Loading
@@ -245,6 +245,8 @@ default['gitlab']['gitlab-rails']['db_socket'] = nil
default['gitlab']['gitlab-rails']['db_sslmode'] = nil
default['gitlab']['gitlab-rails']['db_sslrootcert'] = nil
default['gitlab']['gitlab-rails']['db_sslca'] = nil
default['gitlab']['gitlab-rails']['db_prepared_statements'] = true
default['gitlab']['gitlab-rails']['db_statements_limit'] = 1000
 
default['gitlab']['gitlab-rails']['redis_host'] = "127.0.0.1"
default['gitlab']['gitlab-rails']['redis_port'] = nil
Loading
Loading
Loading
Loading
@@ -17,3 +17,5 @@ production:
sslrootcert: <%= single_quote(@db_sslrootcert) || single_quote(@db_sslca) %>
sslca: <%= single_quote(@db_sslca) || single_quote(@db_sslrootcert) %>
load_balancing: <%= @db_load_balancing.to_json %>
prepared_statements: <%= @db_prepared_statements %>
statements_limit: <%= @db_statements_limit %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment