Forgejo: limit db connections
This commit is contained in:
parent
6a0d65fd61
commit
b38a17e8f2
3 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,8 @@ argument_specs:
|
|||
type: str
|
||||
db_password:
|
||||
type: str
|
||||
db_max_open_conns:
|
||||
type: int
|
||||
log_level:
|
||||
type: str
|
||||
log_root_path:
|
||||
|
|
|
@ -9,6 +9,7 @@ HOST={{ db_host }}
|
|||
NAME={{ db_name }}
|
||||
USER={{ db_user }}
|
||||
PASSWD={{ db_password }}
|
||||
MAX_OPEN_CONNS={{ db_max_open_conns }}
|
||||
|
||||
[storage]
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ db_host: postgresql:5432
|
|||
db_name: forgejo
|
||||
db_user: forgejo
|
||||
db_password: ""
|
||||
db_max_open_conns: 10
|
||||
|
||||
log_level: warn
|
||||
log_root_path: /data/log
|
||||
|
|
Loading…
Reference in a new issue