221V 1 год назад
Родитель
Сommit
c18c19bf57
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/epgsql_pool_worker.erl

+ 1 - 1
src/epgsql_pool_worker.erl

@@ -107,7 +107,7 @@ handle_info(open_connection, #state{pool_name = PoolName, connection = Connectio
             {noreply, State#state{connection = Connection4}}
     end;
 
-handle_info(on_connect, #state{pool_name = PoolName, connection = Connection} = State) ->
+handle_info(on_connect, #state{pool_name = PoolName, connection = _Connection} = State) ->
     case application:get_env(epgsql_pool, connect_listener) of
         undefined -> ignore;
         {ok, undefined} -> ignore;