release 0.8.0 merge with github version

This commit is contained in:
Dmitry Kolesnikov 2013-07-27 18:42:24 +03:00
commit 916366089c
3 changed files with 17 additions and 10 deletions

View File

@ -175,7 +175,3 @@ remove(Cache, Key) ->
remove_(Cache, Key) ->
gen_server:cast(Cache, {remove, Key}).

View File

@ -18,11 +18,18 @@
-module(cache_sup).
-behaviour(supervisor).
-author('Dmitry Kolesnikov <dmkolesnikov@gmail.com>').
-author('Jose Luis Navarro <jlnavarro@gmail.com>').
-export([start_link/0, init/1]).
%% API
-export([start_link/0]).
%% Supervisor callbacks
-export([init/1]).
%% ===================================================================
%% API functions
%% ===================================================================
%%
%%
start_link() ->
{ok, Sup} = supervisor:start_link({local, ?MODULE}, ?MODULE, []),
lists:foreach(
@ -31,8 +38,12 @@ start_link() ->
),
{ok, Sup}.
%% ===================================================================
%% Supervisor callbacks
%% ===================================================================
init([]) ->
{ok,
{ok,
{
{one_for_one, 4, 1800},
[]