Mercurial > lbo > hg > geohub
changeset 47:c3812802146c
Move Rocket.toml to example file
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Thu, 03 Dec 2020 17:44:36 +0100 |
parents | 744fd753ac2a |
children | 6ee4923958f0 |
files | Rocket.toml Rocket.toml.example |
diffstat | 2 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/Rocket.toml Thu Dec 03 17:42:01 2020 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -[global.databases] -geohub = { url = "postgresql://user:pass@localhost/database", pool_size = 4 } - -[development] -workers = 8 - -[production] -log = "normal" -address = "::1" -port = 8000 -# Majority of workers is expected to be waiting for updates. -workers = 16
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Rocket.toml.example Thu Dec 03 17:44:36 2020 +0100 @@ -0,0 +1,12 @@ +[global.databases] +geohub = { url = "postgresql://user:pass@localhost/database", pool_size = 4 } + +[development] +workers = 8 + +[production] +log = "normal" +address = "::1" +port = 8000 +# Majority of workers is expected to be waiting for updates. +workers = 16