Forum Discussion
geoffrey_112372
Jan 28, 2009Nimbostratus
The 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,
);