Commit c1736ed
authored
Rate limiter + improved error mgt + retry limited
Sender flow updated to better manage errors / rate limitations (JSON parse errors)
- Rate limitation added to pro-actively avoid sending too many calls to HUE bridge
- Retry management : added a 'loop stopper' : when 10 retries failed, request fails, no more retries to avoid infinite loops creation
- Error management now manages the 429 error sent back by the bridge (with the 'real' new code the bridge sends back in case of exceeded calls)
- Some clean-up here and there1 parent 5937d22 commit c1736ed
1 file changed
+1
-1
lines changed
0 commit comments