Update and refine comment regarding spawn BugzID: 13179
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/14d1dd27 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/14d1dd27 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/14d1dd27 Branch: refs/heads/import Commit: 14d1dd27e887fecc59f72e5e05f9f0b56ade08e2 Parents: 1b8cae9 Author: Adam Kocoloski <[email protected]> Authored: Wed Feb 27 11:52:23 2013 -0500 Committer: Paul J. Davis <[email protected]> Committed: Tue Feb 4 17:03:24 2014 -0600 ---------------------------------------------------------------------- src/couch_server.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/14d1dd27/src/couch_server.erl ---------------------------------------------------------------------- diff --git a/src/couch_server.erl b/src/couch_server.erl index 9f8380e..e8d8c49 100644 --- a/src/couch_server.erl +++ b/src/couch_server.erl @@ -196,7 +196,7 @@ config_change("couchdb", "database_dir", _, _) -> config_change("couchdb", "max_dbs_open", Max, _) -> gen_server:call(couch_server, {set_max_dbs_open, list_to_integer(Max)}); config_change("admins", _, _, Persist) -> - % spawn here so couch_config doesn't try to call itself + % spawn here so couch event manager doesn't deadlock spawn(fun() -> hash_admin_passwords(Persist) end). all_databases() ->
