Merge pull request #1 from aeternity/uw-add-rocksdb-app-dep
ensure rocksdb started at backend init
This commit is contained in:
commit
3c6f6dfdab
@ -8,5 +8,5 @@
|
|||||||
{registered, []},
|
{registered, []},
|
||||||
{mod, {mnesia_rocksdb_app, []}},
|
{mod, {mnesia_rocksdb_app, []}},
|
||||||
{env, []},
|
{env, []},
|
||||||
{applications, [kernel, stdlib]}
|
{applications, [kernel, stdlib, rocksdb]}
|
||||||
]}.
|
]}.
|
||||||
|
@ -253,7 +253,7 @@ i_show_table(I, Move, Limit) ->
|
|||||||
|
|
||||||
init_backend() ->
|
init_backend() ->
|
||||||
stick_rocksdb_dir(),
|
stick_rocksdb_dir(),
|
||||||
application:start(mnesia_rocksdb),
|
application:ensure_all_started(mnesia_rocksdb),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
%% Prevent reloading of modules in rocksdb itself during runtime, since it
|
%% Prevent reloading of modules in rocksdb itself during runtime, since it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user