Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Don't restart event handler on termination
Browse files Browse the repository at this point in the history
COUCHDB-2561
  • Loading branch information
iilyak committed Feb 4, 2015
1 parent 7a66ec1 commit 97d9581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mem3_shards.erl
Expand Up @@ -136,6 +136,7 @@ handle_config_change("mem3", "shard_db", _DbName, _, _) ->
handle_config_change(_, _, _, _, _) ->
{ok, nil}.

handle_config_terminate(_, stop, _) -> ok;
handle_config_terminate(_, _, _) ->
spawn(fun() ->
timer:sleep(5000),
Expand Down

0 comments on commit 97d9581

Please sign in to comment.