Reorganization of communication within the daemon#2126
Draft
davidv1992 wants to merge 31 commits intomainfrom
Draft
Reorganization of communication within the daemon#2126davidv1992 wants to merge 31 commits intomainfrom
davidv1992 wants to merge 31 commits intomainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2126 +/- ##
==========================================
+ Coverage 83.53% 85.07% +1.54%
==========================================
Files 71 70 -1
Lines 20007 19803 -204
==========================================
+ Hits 16712 16848 +136
+ Misses 3295 2955 -340
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8d69adb to
3503aac
Compare
external. This will enable us to more easily change the external ones.
3503aac to
ef14f0d
Compare
For the kalman algorithm this was done through some wrapper types. The force-sync code is disabled for now.
This is needed for the implementation of clone on tokio::sync::watch::Sender.
This will allow us to give the source access to the manager snapshots, which is needed to eventually move source usability into the per-source part of the algorithm interface.
This will eventually make it easier to make communication between source and ntp_manager more implicit, and reduces the amount of things the system struct is responsible for.
This is now no longer needed, and removing this reduces the work system needs to do a lot.
This removes the need for any messages between ntp manager and sources, which also allows the removal of several bits of the source-system communication in the daemon.
This further simplifies system, facilitating its removal.
This makes the updating of the ntp snapshot more robust by ensuring the latest data is available before it is used for synchronization.
This further simplifies system, preparing for its removal.
This makes it impossible to forget to do this on dropping the source controller. It also simplifies system, which makes its removal easier.
This fixes incorrect strata being advertised by servers.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.