commit
ddb2a51bfe
3 changed files with 11 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
{application, eleveleddb,
|
{application, leveled,
|
||||||
[
|
[
|
||||||
{description, "Key Value store based on LSM-Tree and designed for larger values"},
|
{description, "Key Value store based on LSM-Tree and designed for larger values"},
|
||||||
{vsn, "1"},
|
{vsn, "1"},
|
||||||
|
@ -7,6 +7,6 @@
|
||||||
kernel,
|
kernel,
|
||||||
stdlib
|
stdlib
|
||||||
]},
|
]},
|
||||||
{mod, { eleveleddb_app, []}},
|
{mod, { leveled_app, []}},
|
||||||
{env, [{root_path, "test"}]}
|
{env, [{root_path, "test"}]}
|
||||||
]}.
|
]}.
|
|
@ -1,4 +1,4 @@
|
||||||
-module(eleveleddb_app).
|
-module(leveled_app).
|
||||||
|
|
||||||
-behaviour(application).
|
-behaviour(application).
|
||||||
|
|
||||||
|
@ -9,8 +9,11 @@
|
||||||
%% Application callbacks
|
%% Application callbacks
|
||||||
%% ===================================================================
|
%% ===================================================================
|
||||||
|
|
||||||
|
%% Currently this is just to keep dialyzer happy
|
||||||
|
%% Run the store diretcly using leveled_bookie:book_start/4 or bookie_start/1
|
||||||
|
|
||||||
start(_StartType, _StartArgs) ->
|
start(_StartType, _StartArgs) ->
|
||||||
eleveleddb_sup:start_link().
|
leveled_sup:start_link().
|
||||||
|
|
||||||
stop(_State) ->
|
stop(_State) ->
|
||||||
ok.
|
ok.
|
|
@ -1,4 +1,4 @@
|
||||||
-module(eleveleddb_sup).
|
-module(leveled_sup).
|
||||||
|
|
||||||
-behaviour(supervisor).
|
-behaviour(supervisor).
|
||||||
|
|
||||||
|
@ -15,6 +15,9 @@
|
||||||
%% API functions
|
%% API functions
|
||||||
%% ===================================================================
|
%% ===================================================================
|
||||||
|
|
||||||
|
%% Currently this is just to keep dialyzer happy
|
||||||
|
%% Run the store directly using leveled_bookie:book_start/4 or bookie_start/1
|
||||||
|
|
||||||
start_link() ->
|
start_link() ->
|
||||||
supervisor:start_link({local, leveled_bookie}, ?MODULE, []).
|
supervisor:start_link({local, leveled_bookie}, ?MODULE, []).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue