Skip to content

Skip heartbeat writes when STORE_TELEMETRY_IN_DATASTORE=false - #150

Merged
antoncxx merged 1 commit into
mainfrom
chore/skip-heartbeat-writes
Sep 30, 2026
Merged

antoncxx merged 1 commit into
mainfrom
chore/skip-heartbeat-writes

Conversation

@antoncxx

Copy link
Copy Markdown
Collaborator

Each agent sends a heartbeat every 25s and every one was inserted into device_heartbeats, which still loaded the datastore with telemetry saving disabled. Heartbeats are now also skipped when the switch is off.

The switch moves from WallGuardService to AppContext so the control stream can read it too; it is still read once at startup and logged when disabled.

Each agent sends a heartbeat every 25s and every one was inserted into
device_heartbeats, which still loaded the datastore with telemetry saving
disabled. Heartbeats are now also skipped when the switch is off.

The switch moves from WallGuardService to AppContext so the control
stream can read it too; it is still read once at startup and logged
when disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@antoncxx
antoncxx merged commit 27fe0ec into main Sep 30, 2026
3 checks passed
@antoncxx
antoncxx deleted the chore/skip-heartbeat-writes branch September 30, 2026 01:44
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