Issue when registering two local process with gproc within cowboy websocket handler
问题 I tried to register a bunch of processes with a unique family name with gproc under a cowboy websocket handler. In my handler I created two method, the first one is to handle registration: websocket_handle({text, <<"Reg: ",Message/binary>>}, State) -> io:format("Client ~p requesting to register ~n",[Message]), MyPID=list_to_binary(pid_to_list(self())), {[{_,Family}]}=jiffy:decode(Message), io:format("Client ~p requesting to register ~n",[Family]), Test = gproc:reg({p, l, Family}), erlang