Skip to content

Commit

Permalink
improved application startup
Browse files Browse the repository at this point in the history
  • Loading branch information
tholschuh committed Jan 29, 2013
1 parent 17e353a commit 4d42b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 3 additions & 1 deletion src/folsom_webmachine.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
{description, ""},
{vsn, git},
{registered, []},
{mod, {folsom_webmachine_app, []}},
{applications, [
kernel,
stdlib
stdlib,
folsom
]},
{env, [{health, {erlang, node, []}}]}
]}.
11 changes: 1 addition & 10 deletions src/folsom_webmachine_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,4 @@ init([]) ->
worker,
dynamic},

Folsom = {folsom,
{folsom_sup, start_link, []},
permanent,
5000,
supervisor,
[folsom_sup]
},

Processes = [Web, Folsom],
{ok, { {one_for_one, 10, 10}, Processes} }.
{ok, { {one_for_one, 10, 10}, [Web]} }.

0 comments on commit 4d42b64

Please sign in to comment.