Less connections seems more secure
This commit is contained in:
parent
c91ce50631
commit
6624cb1c5a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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: "€"
|
||||
|
|
Loading…
Reference in a new issue