Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Ignore other config changes
  • Loading branch information
kocolosk committed Feb 28, 2013
1 parent 8740fb4 commit 1a0ae3eb2dbb095d59719bf4337bb71567e8acbe
Showing 1 changed file with 3 additions and 1 deletion.
@@ -107,7 +107,9 @@ handle_config_change("mem3", "shard_cache_size", SizeList, _, _) ->
Size = list_to_integer(SizeList),
{ok, gen_server:call(?MODULE, {set_max_size, Size}, infinity)};
handle_config_change("mem3", "shard_db", _DbName, _, _) ->
{ok, gen_server:call(?MODULE, shard_db_changed, infinity)}.
{ok, gen_server:call(?MODULE, shard_db_changed, infinity)};
handle_config_change(_, _, _, _, _) ->
{ok, nil}.

init([]) ->
ets:new(?SHARDS, [bag, protected, named_table, {keypos,#shard.dbname}]),

0 comments on commit 1a0ae3e

Please sign in to comment.