Skip to content

fix: sync properties from any instance, not just leader#18

Merged
svc-finitelabs[bot] merged 1 commit into
mainfrom
fix/DRV-22-leader-instance-sync
Mar 26, 2026
Merged

fix: sync properties from any instance, not just leader#18
svc-finitelabs[bot] merged 1 commit into
mainfrom
fix/DRV-22-leader-instance-sync

Conversation

@svc-finitelabs
Copy link
Copy Markdown
Contributor

The DRV-22 PR was merged without the leader-instance fix. This applies the same pattern as the other drivers: remove module-level isLeaderInstance, drop it from OPC guards, scope it locally in the update timer.

Remove module-level isLeaderInstance variable and its check from OPC
guards. The leader check should only gate the periodic update timer,
not property syncing between instances.
@svc-finitelabs svc-finitelabs Bot merged commit 9faf9f1 into main Mar 26, 2026
1 check passed
@svc-finitelabs svc-finitelabs Bot deleted the fix/DRV-22-leader-instance-sync branch March 26, 2026 15:40
svc-finitelabs Bot added a commit that referenced this pull request Mar 31, 2026
Remove module-level isLeaderInstance variable and its check from OPC
guards. The leader check should only gate the periodic update timer,
not property syncing between instances.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant