Forum Discussion
Javier_Checa_41
Nimbostratus
Oct 02, 2008Setting member preference without updating configuration
i have difficulties to set the connection limit for a pool member I try something like this below.
Any help or example would be appreciated. thanks
$Pool_member= SOAP::Lite ...
geoffrey_112372
Nimbostratus
Jan 28, 2009The API online mention 2 Parameters
set_connection_limit:
Parameter Type
pool_names String[]
limits MemberConnectionLimit [] []
first parameter is my pool
the second is an array of array with a struct that describes a member connection limit.
my member with IP and PORT
and the connection limit
// Member with IP and port
@memb =
(
'address' => '192.168.11.168',
'port'=>0,
);
// Member with connection limit
@memberlimit=
(
@memb,
'connection_limit' => 500,
);