mirror of
https://github.com/zvx-echo6/central.git
synced 2026-05-21 18:14:44 +02:00
refactor(supervisor): remove adapter.cadence_s update
The NWSAdapter no longer has a cadence_s attribute since the internal limiter was removed. The supervisor's rate limiting via state.config.cadence_s and last_completed_poll is sufficient. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9d4ba97537
commit
0eba319071
1 changed files with 0 additions and 3 deletions
|
|
@ -423,9 +423,6 @@ class Supervisor:
|
||||||
# Update config
|
# Update config
|
||||||
state.config = new_config
|
state.config = new_config
|
||||||
|
|
||||||
# Update adapter's cadence
|
|
||||||
state.adapter.cadence_s = new_cadence
|
|
||||||
|
|
||||||
# Update adapter settings if needed (e.g., states list)
|
# Update adapter settings if needed (e.g., states list)
|
||||||
if name == "nws":
|
if name == "nws":
|
||||||
nws_config = self._adapter_config_to_nws_config(new_config)
|
nws_config = self._adapter_config_to_nws_config(new_config)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue