diff --git a/app/AppTypes/Configuration.hs b/app/AppTypes/Configuration.hs index e06dd01..fcd47b4 100644 --- a/app/AppTypes/Configuration.hs +++ b/app/AppTypes/Configuration.hs @@ -30,7 +30,7 @@ instance FromYAML ServerConfig where <*> m .: "currency" <*> m .: "listen_port" <*> m .:? "listen_host" .!= "127.0.0.1" - <*> m .:? "max_connections_per_client" .!= 100 + <*> m .:? "max_connections_per_client" .!= 10 newtype Options = Options { optConfigLocation :: T.Text diff --git a/config.yaml b/config.yaml index bb5ece7..8ac35fa 100644 --- a/config.yaml +++ b/config.yaml @@ -5,5 +5,5 @@ db_user: "mateamt" db_passwd: "mateamt" listen_port: 8000 #listen_host: "127.0.0.1" -#max_connections_per_client: 100 +#max_connections_per_client: 10 currency: "€"