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/c13d58ad Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/c13d58ad Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/c13d58ad Branch: refs/heads/import Commit: c13d58ad57db9a87ca8752d9e847f959a63c09f5 Parents: ecf5e31 Author: Adam Kocoloski <[email protected]> Authored: Wed Feb 27 11:52:23 2013 -0500 Committer: Paul J. Davis <[email protected]> Committed: Fri Jan 17 16:44:31 2014 -0800 ---------------------------------------------------------------------- src/couch_server.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/c13d58ad/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() ->
