Skip to content

Conversation

@fako1024
Copy link
Collaborator

Closes #426

@fako1024 fako1024 requested a review from els0r December 22, 2025 10:34
@fako1024 fako1024 self-assigned this Dec 22, 2025
@fako1024 fako1024 added bug Something isn't working critical Issues that should be looked at with priority labels Dec 22, 2025
@fako1024 fako1024 linked an issue Dec 22, 2025 that may be closed by this pull request
"removed", disableIfaces,
),
).Info("updated interface configuration")
if len(enableIfaces) > 0 || len(updateIfaces) > 0 || len(disableIfaces) > 0 {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by: Reduce info-level log lines in case there is no change (no need to spam logs with null-op info unless debug logging is enabled).

// Note: exact counts are timing-sensitive and can be flaky across environments,
// so we only verify presence rather than a specific minimum beyond 1.
keepaliveCount := 0
sender.mu.Lock()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Drive-by: Racy, racy, such a sorrow. I smell AI... 😉

@fako1024 fako1024 merged commit 058daee into main Dec 22, 2025
8 checks passed
@fako1024 fako1024 deleted the 426-config-interface-reload-not-triggered-unless-config-file-is-present branch December 22, 2025 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working critical Issues that should be looked at with priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config / interface reload not triggered unless config file is present

3 participants