Skip to content

Replace systemd polling with a D-Bus PropertiesChanged subscription (Phase 2 item 4) #12

Description

@ssandys

Colophon polls systemctl show on a timer. Phase 2 item 4 in AGENTS.md proposes replacing the systemd half of that with a D-Bus PropertiesChanged subscription on the unit.

Direct benefit. Status transitions appear when they happen rather than up to one interval later, and idle wakeups drop.

Second-order benefit worth naming. The 2-second poll while the panel is open is what made the typing-overwrite bug possible in the first place (trap #35) — a binding re-evaluating under the user's fingers. Cutting poll pressure reduces the surface for that whole class.

Closes the gap documented in trap #27.

Caveat. The model inventory still comes off disk and would keep its own cadence, so this narrows polling rather than removing it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions