Home > Configuration > NS > setnslimitidentifier_timeslice

setnslimitidentifier_timeslice

Use this method to set time interval, in milliseconds, specified in multiples of 10, during which requests are tracked to check if they cross the threshold. This argument is needed only when the mode is set to REQUEST_RATE.

Syntax



Parameters

limitidentifier

Name of the rate limit identifier to be modified.
This is mandatory parameter.

timeslice

Time interval, in milliseconds, specified in multiples of 10, during which requests are tracked to check if they cross the threshold. This argument is needed only when the mode is set to REQUEST_RATE.
Default value = 1000.
Minimum value = 10.

Return Value

Returns simpleResult

See Also