Skip to content

Commit c83aafd

Browse files
committed
don't explain why we don't do something that doesn't work
1 parent 993c238 commit c83aafd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/rabbit_guid.erl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,9 @@ guid() ->
7777
%% slow since it takes a global lock and makes a system call.
7878
%%
7979
%% A persisted serial number, the node, and a unique reference
80-
%% (per node-incarnation) uniquely identifies a process in space
80+
%% (per node incarnation) uniquely identifies a process in space
8181
%% and time. We combine that with a process-local counter to give
8282
%% us a GUID.
83-
%%
84-
%% We used to use self/0 here instead of the node and unique
85-
%% reference. But PIDs wrap.
8683
G = case get(guid) of
8784
undefined -> Serial = gen_server:call(?SERVER, serial, infinity),
8885
{{Serial, node(), make_ref()}, 0};

0 commit comments

Comments
 (0)