summaryrefslogtreecommitdiff
path: root/src/rabbit_channel.erl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-12-05 15:33:49 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-12-05 15:33:49 +0000
commite5d86bf990699ba532d0997d4410b916ab06bf3f (patch)
tree01f0bb1038d12ca97617eb5866b0791dcd857230 /src/rabbit_channel.erl
parentb41498b6d1bdcd4660bb4076e1768dac2466b9de (diff)
downloadrabbitmq-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.erl1
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,