mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Expose config values for database connection pool
This commit is contained in:
parent
82e6f6e095
commit
d0480f5381
2 changed files with 41 additions and 0 deletions
|
@ -15,6 +15,29 @@ db:
|
|||
port: 5432
|
||||
dbname: invidious
|
||||
|
||||
##
|
||||
## Granular pooling behavior controls
|
||||
## The following is entirely optional.
|
||||
##
|
||||
|
||||
## Initial amount of connections in the pool
|
||||
#initial_pool_size:
|
||||
|
||||
## Maximum amount of connections in the pool. 0 is unlimited.
|
||||
#max_pool_size: 0
|
||||
|
||||
## Amount of connections when idle
|
||||
#max_idle_pool_size: 1
|
||||
|
||||
## Amount of seconds to wait if the connection pool is full, and a connection is unavailable.
|
||||
#checkout_timeout: 5
|
||||
|
||||
## Amount of retries when a connection is either lost or can't be established.
|
||||
#retry_attempts: 1
|
||||
|
||||
## Amount of seconds between each retry
|
||||
#retry_delay: 1
|
||||
|
||||
##
|
||||
## Database configuration using a single URI. This is an
|
||||
## alternative to the 'db' parameter above. If both forms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue