diff options
Diffstat (limited to 'doc/administration/postgresql/pgbouncer.md')
-rw-r--r-- | doc/administration/postgresql/pgbouncer.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/administration/postgresql/pgbouncer.md b/doc/administration/postgresql/pgbouncer.md index e481fcb71f4..4f9056b9b50 100644 --- a/doc/administration/postgresql/pgbouncer.md +++ b/doc/administration/postgresql/pgbouncer.md @@ -52,6 +52,20 @@ This content has been moved to a [new location](replication_and_failover.md#conf } ``` + You can pass additional configuration parameters per database, for example: + + ```ruby + pgbouncer['databases'] = { + gitlabhq_production: { + ... + pool_mode: 'transaction' + } + } + ``` + + Use these parameters with caution. For the complete list of parameters refer to the + [PgBouncer documentation](https://www.pgbouncer.org/config.html#section-databases). + 1. Run `gitlab-ctl reconfigure` 1. On the node running Puma, make sure the following is set in `/etc/gitlab/gitlab.rb` |