Cvpn 2673#486
Open
kp-anuz-tomar wants to merge 2 commits into
Open
Conversation
Addr monitor used to handle shutdown event with waiting for 1 second and on receiving a shutdown event, sleep for 500ms to recover if it is an error. This commit created a shutdown_event on recieveing ctrl_c event. The error is handled seperately. Instead of waiting on a polling loop for shutdown, we wait for event, thus reducing wait time. Signed-off-by: anuz tomar <anuz.tomar@kape.com>
Adding a debug commit to find out where shutdown is spending time between addr_monitor and router_manager Todo: remove the commit before merge Signed-off-by: anuz tomar <anuz.tomar@kape.com>
Contributor
Author
|
@kp-weiwen-goh @xv-thomas-leong WIP changes |
|
Code coverage summary for 0cfcd07: ✅ Region coverage 69% passes |
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.
Description
Improving timing for ctrl+C shutdown on windows by reducing time spent in add_monitor
THIS IS DEBUG ONLY at the moment.
Motivation and Context
Slow shutdown of windows lightway client
https://polymoon.atlassian.net/browse/CVPN-2673
How Has This Been Tested?
Tested locally and tested by desktop team
Testing still ongoing.
Types of changes
Checklist:
main