fix(ds): Change the directory where message database is stored

This commit is contained in:
ieQu1 2023-10-31 16:32:39 +01:00
parent 8e5dda40be
commit 38b7f516bc
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ rocksdb_open(Shard, Options) ->
-spec db_dir(shard_id()) -> file:filename(). -spec db_dir(shard_id()) -> file:filename().
db_dir({DB, ShardId}) -> db_dir({DB, ShardId}) ->
filename:join("data", lists:flatten([atom_to_list(DB), $:, atom_to_list(ShardId)])). filename:join(["data", atom_to_list(DB), atom_to_list(ShardId)]).
%%-------------------------------------------------------------------------------- %%--------------------------------------------------------------------------------
%% Schema access %% Schema access