Frank Feng %!s(int64=9) %!d(string=hai) anos
pai
achega
7cb3b7ca8a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/emqttd_internal.hrl

+ 1 - 1
include/emqttd_internal.hrl

@@ -19,7 +19,7 @@
 -define(GPROC_POOL(JoinOrLeave, Pool, I),
         (begin
             case JoinOrLeave of
-                join  -> gproc_pool:connect_worker(Pool, {Pool, Id});
+                join  -> gproc_pool:connect_worker(Pool, {Pool, I});
                 leave -> gproc_pool:disconnect_worker(Pool, {Pool, I})
             end
         end)).