setRenewSetting(...args)

Configures auto-renew (auto-refresh) behavior.

setRenewSetting(rateLimit, countLimit, onlyPortHasConfig)

Parameters

  • rateLimit (number) – Refresh interval (seconds).

  • countLimit (number) – Max number of refreshes.

  • onlyPortHasConfig (number) – 0 = all active ports, 1 = only ports with configs.

Return Value

number (0 = success)

Example

// example

sdk.setRenewSetting(60, 100, 0);

Last updated

Was this helpful?