fix(client,app): refuse local NED spawn when NED_URL is configured #74

Merged
clanker merged 1 commit from pr/remote-ned-guard into main 2026-09-06 04:06:36 +00:00
Member

When NED_URL is configured, ensure_daemon verifies connectivity via ping. If the remote daemon is unreachable, ensure_daemon now logs an error and returns False rather than falling back to spawning a local daemon. This prevents two machines from running concurrent mbsync jobs against the same Maildir. In addition, app.py displays a descriptive error message advising the user to check network connectivity and remote daemon status.

When NED_URL is configured, ensure_daemon verifies connectivity via ping. If the remote daemon is unreachable, ensure_daemon now logs an error and returns False rather than falling back to spawning a local daemon. This prevents two machines from running concurrent mbsync jobs against the same Maildir. In addition, app.py displays a descriptive error message advising the user to check network connectivity and remote daemon status.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Home/lazarus!74
No description provided.