Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
pull lru config out to var.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Mar 13, 2011
1 parent 79e7fe4 commit 84b33ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/monic_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ init([]) ->
Web = {webmachine_mochiweb,
{webmachine_mochiweb, start, [WebConfig]},
permanent, 5000, worker, dynamic},
LruConfig = [100, fun monic_file:close/1],
Lru = {monic_lru,
{monic_lru, start_link, [100, fun monic_file:close/1]},
{monic_lru, start_link, LruConfig},
permanent, 5000, worker, dynamic},
Processes = [Web, Lru],
{ok, { {one_for_one, 10, 10}, Processes} }.

0 comments on commit 84b33ab

Please sign in to comment.