diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-12-05 15:33:49 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-12-05 15:33:49 +0000 |
commit | e5d86bf990699ba532d0997d4410b916ab06bf3f (patch) | |
tree | 01f0bb1038d12ca97617eb5866b0791dcd857230 /src/rabbit_channel.erl | |
parent | b41498b6d1bdcd4660bb4076e1768dac2466b9de (diff) | |
download | rabbitmq-server-e5d86bf990699ba532d0997d4410b916ab06bf3f.tar.gz |
Store some process identity in the process dictionary.
Diffstat (limited to 'src/rabbit_channel.erl')
-rw-r--r-- | src/rabbit_channel.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 4d778f94..dbf66dcf 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -195,6 +195,7 @@ init([Channel, ReaderPid, WriterPid, ConnPid, ConnName, Protocol, User, VHost, Capabilities, CollectorPid, LimiterPid]) -> process_flag(trap_exit, true), ok = pg_local:join(rabbit_channels, self()), + put(rabbit_process_name, {channel, {ConnName, Channel}}), State = #ch{state = starting, protocol = Protocol, channel = Channel, |