diff options
author | Loïc Hoguin <[email protected]> | 2014-03-27 11:16:24 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-03-27 11:30:44 +0100 |
commit | c9b9644aa3020643051da73931542367d649f593 (patch) | |
tree | 5e8d739849e1b55306a7c7e2eec2238ce0ebb4eb /src/cowboy_sup.erl | |
parent | 17af50812c47f5dec7e02e443c551b9697715729 (diff) | |
download | cowboy-c9b9644aa3020643051da73931542367d649f593.tar.gz cowboy-c9b9644aa3020643051da73931542367d649f593.tar.bz2 cowboy-c9b9644aa3020643051da73931542367d649f593.zip |
Add +warn_missing_spec and fix specs
Diffstat (limited to 'src/cowboy_sup.erl')
-rw-r--r-- | src/cowboy_sup.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_sup.erl b/src/cowboy_sup.erl index d9d7878..cf48595 100644 --- a/src/cowboy_sup.erl +++ b/src/cowboy_sup.erl @@ -22,6 +22,8 @@ start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). +-spec init([]) + -> {ok, {{supervisor:strategy(), 10, 10}, [supervisor:child_spec()]}}. init([]) -> Procs = [{cowboy_clock, {cowboy_clock, start_link, []}, permanent, 5000, worker, [cowboy_clock]}], |