Explorar el Código

ft: 去掉错误的发送初始连接的消息

master
SisMaker hace 1 año
padre
commit
090347a6d7
Se han modificado 2 ficheros con 0 adiciones y 2 borrados
  1. +0
    -1
      src/agVstCli/agSslAgency.erl
  2. +0
    -1
      src/agVstCli/agTcpAgency.erl

+ 0
- 1
src/agVstCli/agSslAgency.erl Ver fichero

@ -100,7 +100,6 @@ loop(Parent, SrvState, CliState) ->
-spec init(term()) -> no_return().
init({PoolName, AgencyName, #agencyOpts{reconnect = Reconnect, backlogSize = BacklogSize, reConnTimeMin = Min, reConnTimeMax = Max}}) ->
self() ! ?AgMDoDBConn,
ReConnState = agAgencyUtils:initReConnState(Reconnect, Min, Max),
{ok, #srvState{poolName = PoolName, serverName = AgencyName, reConnState = ReConnState}, #cliState{backlogSize = BacklogSize}}.

+ 0
- 1
src/agVstCli/agTcpAgency.erl Ver fichero

@ -100,7 +100,6 @@ loop(Parent, SrvState, CliState) ->
-spec init(term()) -> no_return().
init({PoolName, AgencyName, #agencyOpts{reconnect = Reconnect, backlogSize = BacklogSize, reConnTimeMin = Min, reConnTimeMax = Max}}) ->
self() ! ?AgMDoDBConn,
ReConnState = agAgencyUtils:initReConnState(Reconnect, Min, Max),
{ok, #srvState{poolName = PoolName, serverName = AgencyName, reConnState = ReConnState}, #cliState{backlogSize = BacklogSize}}.

Cargando…
Cancelar
Guardar