[Client] Allow to modify sensitivity of KeepAliveStopped#3105
Merged
mrsuciu merged 2 commits intoOPCFoundation:masterfrom Jul 25, 2025
Merged
[Client] Allow to modify sensitivity of KeepAliveStopped#3105mrsuciu merged 2 commits intoOPCFoundation:masterfrom
mrsuciu merged 2 commits intoOPCFoundation:masterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3105 +/- ##
==========================================
- Coverage 57.48% 57.47% -0.02%
==========================================
Files 357 357
Lines 69113 69119 +6
Branches 14201 14203 +2
==========================================
- Hits 39729 39723 -6
- Misses 25136 25146 +10
- Partials 4248 4250 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
marcschier
approved these changes
Jul 24, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the KeepAliveStopped functionality by allowing configurable sensitivity through an interval factor and guard band, replacing the previously hardcoded values. This provides more flexibility for tuning keep-alive detection based on network conditions and application requirements.
- Replaces hardcoded guard band constant with configurable protected fields
- Modifies the KeepAliveStopped calculation to use a configurable factor and guard band
- Updates documentation to reflect the new configurable behavior
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Libraries/Opc.Ua.Client/Session/Session.cs | Removes hardcoded constant, adds configurable fields for interval factor and guard band, updates KeepAliveStopped logic and documentation |
| Libraries/Opc.Ua.Client/Session/ISession.cs | Updates interface documentation to reflect configurable behavior |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was referenced Nov 21, 2025
This was referenced Nov 28, 2025
This was referenced Dec 12, 2025
This was referenced Dec 19, 2025
This was referenced Jan 16, 2026
This was referenced Jan 23, 2026
Open
This was referenced Feb 6, 2026
This was referenced Feb 20, 2026
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.
Proposed changes
Allow to modify sensitivity of KeepAliveStopped with a factor and a guard band.
Related Issues
Types of changes
Checklist
Further comments