Less connections seems more secure

This commit is contained in:
nek0 2019-11-01 09:58:30 +01:00
parent c91ce50631
commit 6624cb1c5a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: "€"