-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[network] Fix discovery performance causing a slow openHAB start #17972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+714
−467
Merged
Changes from 32 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
82a378a
Fix performance
lsiepel 2080346
Improvements
lsiepel dcce737
Add logging
lsiepel 0f6dfd1
Improve logging
lsiepel 9618fb6
Update bundles/org.openhab.binding.network/src/main/java/org/openhab/…
lsiepel ae384b0
Improve thread handling
lsiepel ce74629
Improve shutdown
lsiepel 72cd118
thread cleanup
lsiepel a07516d
Improve per thread allocation
lsiepel 8cd2ceb
Stop on finishing all interfaces
lsiepel a62ef9e
Change Arping to make use of completeablefeature
lsiepel 92a82bc
Seperate presence detection from lifecycle
lsiepel ce17620
Improve logging and filtering
lsiepel 1397df2
Create seperate ScheduledExecutorService
lsiepel ee80608
Fix review comment
lsiepel 4d2164a
Improve network address checks
lsiepel 2a6be86
Improve interrupthandling
lsiepel 7e3efa0
Revert threadlocal
lsiepel 5e1313f
Refactor Presencedetection
lsiepel 71508fb
Make LatencyParser accept Windows' <1ms syntax for minimal latency
b203761
Remove misleading reference to non-existing NetworkHandlerBuilder
e080bae
Handle thread-safety of NetworkDiscoveryService.executorService
165df30
Fix network interface exclusion
8d099e0
Make PresenceDetectionValue thread-safe
571f1a2
Partial refactoring of PresenceDetection
42a03da
Partial refactoring of NetworkDiscoveryService
370b133
Make NetworkHandler thread-safe
cab9542
Make SpeedTestHandler thread-safe
04786e2
Make sure that process output is consumed
14a0d39
Implement tool-specific latency parsing
5fcd5a9
Fix NetworkDiscoveryService configuration and make the thread pool si…
75c1e07
i18n
lsiepel e36ff67
Review comments
lsiepel b4a70da
Fix test
lsiepel 8664e05
Remove restart from doc
lsiepel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.