Fix type of child specification
Project: http://git-wip-us.apache.org/repos/asf/couchdb-twig/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-twig/commit/4652cd88 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-twig/tree/4652cd88 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-twig/diff/4652cd88 Branch: refs/heads/import Commit: 4652cd88d8f24ab7f9e6821b1f2157ffffa3cd95 Parents: b06981f Author: Adam Kocoloski <[email protected]> Authored: Tue Mar 8 13:27:00 2011 -0500 Committer: Adam Kocoloski <[email protected]> Committed: Tue Mar 8 13:27:00 2011 -0500 ---------------------------------------------------------------------- src/twig_sup.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-twig/blob/4652cd88/src/twig_sup.erl ---------------------------------------------------------------------- diff --git a/src/twig_sup.erl b/src/twig_sup.erl index dc9aa13..f778f0d 100644 --- a/src/twig_sup.erl +++ b/src/twig_sup.erl @@ -21,4 +21,4 @@ start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). init([]) -> - {ok, { {one_for_one, 5, 10}, [?CHILD(twig_monitor, gen_server)]} }. + {ok, { {one_for_one, 5, 10}, [?CHILD(twig_monitor, worker)]} }.
