Configure Request Retries (LCC.set_retry_count)
Signature
LCC.set_retry_count(retry_count)
Parameters
- retry_count
Integer. When> 0it limits the number of extra retries;<= 0means retry indefinitely until a definitive result is returned.
Returns
- none
Notes
Controls the timeout/retry behaviour for every controller-side API that the module calls.
For network failures or5xxresponses the module waits 1 second and retries until the limit is reached or the call succeeds.
The default is0(retry forever). Leave it as-is in automated scenarios, or cap it in ad-hoc scripts to avoid blocking.
Example
LCC.set_retry_count(5) -- retry at most 5 additional times