diff options
| author | Loïc Hoguin <essen@ninenines.eu> | 2015-11-20 13:37:48 +0100 |
|---|---|---|
| committer | Loïc Hoguin <essen@ninenines.eu> | 2015-11-20 13:37:48 +0100 |
| commit | 5bf4b992648c8ae583aad1d6c4fcfc1f5eb6ba3f (patch) | |
| tree | 2dce7051213e2616bb58b9f93975a1ab756d5f96 /src/dtree.erl | |
| parent | b44626cae3be4635b0147d8a8f8101d5a77497fe (diff) | |
| download | rabbitmq-server-git-5bf4b992648c8ae583aad1d6c4fcfc1f5eb6ba3f.tar.gz | |
Fix memory reporting for connections
Before, there was two parts of the supervision tree: one for the
listener/acceptor, and one for connections. The latter was one
big supervisor handling all connections, regardless of the
listener they were coming from.
With Ranch, each listener has its own branch in the supervision
tree. Inside it are then two more branches, one for the
acceptors and one for the connections.
The fix simply adds all Ranch connection supervisors to the list
by fetching them from the ranch_server ETS table.
Diffstat (limited to 'src/dtree.erl')
0 files changed, 0 insertions, 0 deletions
