fix: symmetrise REST 429 path with explicit return after _record_429
This commit is contained in:
@@ -1137,6 +1137,7 @@ class PulseController:
|
||||
error_str = str(e).lower()
|
||||
if "429" in error_str or "too many requests" in error_str:
|
||||
self._record_429()
|
||||
return # P1: 429 → stop here, symmetric with DDP path
|
||||
logger.info("[pulse] _pulse_tick REST setStatus failed: %s", e)
|
||||
else:
|
||||
logger.debug(
|
||||
@@ -1203,6 +1204,7 @@ class PulseController:
|
||||
error_str = str(e).lower()
|
||||
if "429" in error_str or "too many requests" in error_str:
|
||||
self._record_429()
|
||||
return # P1: 429 → stop here, symmetric with DDP path
|
||||
logger.info("[pulse] _pulse_tick_async REST setStatus failed: %s", e)
|
||||
else:
|
||||
logger.debug(
|
||||
|
||||
Reference in New Issue
Block a user