diff options
author | Linus Nordberg <linus@nordu.net> | 2015-11-13 14:33:49 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-11-13 14:46:50 +0100 |
commit | ce66c555c35e17c1ca0e0b4ff28056526183fceb (patch) | |
tree | 11a3999316dca8728afd990135313efaa7028958 /src/catlfish_sup.erl | |
parent | 65cfc5397062db367ad537ccf4bf09cd7ddcf096 (diff) |
Whitespace.
Diffstat (limited to 'src/catlfish_sup.erl')
-rw-r--r-- | src/catlfish_sup.erl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/catlfish_sup.erl b/src/catlfish_sup.erl index 353b691..8b43faf 100644 --- a/src/catlfish_sup.erl +++ b/src/catlfish_sup.erl @@ -21,18 +21,17 @@ permanent_worker(Name, StartFunc, Modules) -> gen_http_config(Config, SSLOptions, SSLFlag) -> {ChildName, IpAddress, Port, Module} = Config, - {ok, IPv4Address} = - inet:parse_ipv4strict_address(IpAddress), + {ok, IPv4Address} = inet:parse_ipv4strict_address(IpAddress), WebConfig = [{ip, IPv4Address}, {port, Port}, {ssl, SSLFlag}, - {acceptor_pool_size, application:get_env(catlfish, http_server_pool_size, 16)}, + {acceptor_pool_size, + application:get_env(catlfish, http_server_pool_size, 16)}, {ssl_opts, SSLOptions} ], {ChildName, {catlfish_web, start, [WebConfig, Module, ChildName]}, - permanent, 5000, - worker, dynamic}. + permanent, 5000, worker, dynamic}. init([]) -> SSLOptions = |