diff options
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_server_sup.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/couchdb/couch_server_sup.erl b/src/couchdb/couch_server_sup.erl index e59286f3..4c77dbe1 100644 --- a/src/couchdb/couch_server_sup.erl +++ b/src/couchdb/couch_server_sup.erl @@ -32,10 +32,12 @@ start_link(IniFiles) -> end. restart_core_server() -> - supervisor:terminate_child(couch_secondary_services, couch_server), supervisor:terminate_child(couch_primary_services, couch_server), + supervisor:terminate_child(couch_secondary_services, stats_aggregator), + supervisor:terminate_child(couch_secondary_services, stats_collector), supervisor:restart_child(couch_primary_services, couch_server), - supervisor:restart_child(couch_secondary_services, couch_server). + supervisor:restart_child(couch_secondary_services, stats_collector), + supervisor:restart_child(couch_secondary_services, stats_aggregator). couch_config_start_link_wrapper(IniFiles, FirstConfigPid) -> case is_process_alive(FirstConfigPid) of |