Mercurial > lbo > hg > geohub
changeset 22:65065070a4b4
Keep database workers limited.
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Wed, 02 Dec 2020 21:09:41 +0100 |
parents | 643e00f58060 |
children | 8fc023bbfb97 |
files | Rocket.toml |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Rocket.toml Wed Dec 02 21:08:30 2020 +0100 +++ b/Rocket.toml Wed Dec 02 21:09:41 2020 +0100 @@ -1,8 +1,9 @@ [global.databases] -geohub = { url = "postgresql://lbo:pglbo@localhost/lbo" } +geohub = { url = "postgresql://lbo:pglbo@localhost/lbo", pool_size = 4 } +# Majority of workers is expected to be waiting for updates. [development] -workers = 8 +workers = 16 [production] log = "normal"