diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2011-11-15 16:31:54 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-11-15 16:31:54 +0000 |
| commit | c83aafd1c3d34e35e8c21cf809b15e42f54c985b (patch) | |
| tree | bbd171b2630b26fef036cc9455809a31cf5f7adf /src | |
| parent | 993c2383db591571f04b056021d94fe162b1071a (diff) | |
| download | rabbitmq-server-git-c83aafd1c3d34e35e8c21cf809b15e42f54c985b.tar.gz | |
don't explain why we don't do something that doesn't work
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_guid.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_guid.erl b/src/rabbit_guid.erl index d92f58a250..523af7492d 100644 --- a/src/rabbit_guid.erl +++ b/src/rabbit_guid.erl @@ -77,12 +77,9 @@ guid() -> %% slow since it takes a global lock and makes a system call. %% %% A persisted serial number, the node, and a unique reference - %% (per node-incarnation) uniquely identifies a process in space + %% (per node incarnation) uniquely identifies a process in space %% and time. We combine that with a process-local counter to give %% us a GUID. - %% - %% We used to use self/0 here instead of the node and unique - %% reference. But PIDs wrap. G = case get(guid) of undefined -> Serial = gen_server:call(?SERVER, serial, infinity), {{Serial, node(), make_ref()}, 0}; |
