Skip to content

refactor(mpris): add timeout handling to system D-Bus calls - #22

Merged
b0bbywan merged 1 commit into
claude/add-mpris-dbus-backend-26VEbfrom
claude/mpris-timeout-handling-IwmTC
Feb 5, 2026
Merged

b0bbywan merged 1 commit into
claude/add-mpris-dbus-backend-26VEbfrom
claude/mpris-timeout-handling-IwmTC

Conversation

@b0bbywan

@b0bbywan b0bbywan commented Feb 5, 2026

Copy link
Copy Markdown
Owner

Apply callWithTimeout consistently to all D-Bus operations:

  • listDBusNames: prevent blocking when listing bus names
  • addMatchRule: prevent blocking when subscribing to signals
  • getNameOwner: prevent blocking when resolving name ownership

These system calls can block if the D-Bus is overloaded or unresponsive. Adding timeout protection improves reliability and prevents indefinite hangs.

https://claude.ai/code/session_01H1TjfNwyNimaXm4qKtJT1W

Apply callWithTimeout consistently to all D-Bus operations:
- listDBusNames: prevent blocking when listing bus names
- addMatchRule: prevent blocking when subscribing to signals
- getNameOwner: prevent blocking when resolving name ownership

These system calls can block if the D-Bus is overloaded or unresponsive.
Adding timeout protection improves reliability and prevents indefinite hangs.

https://claude.ai/code/session_01H1TjfNwyNimaXm4qKtJT1W
@b0bbywan
b0bbywan merged commit fae5d63 into claude/add-mpris-dbus-backend-26VEb Feb 5, 2026
5 checks passed
@b0bbywan
b0bbywan deleted the claude/mpris-timeout-handling-IwmTC branch February 5, 2026 18:19
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.

2 participants