Repository navigation
Simplify report running handshake - #829
Open
NicolasFussberger wants to merge 1 commit into
Open
NicolasFussberger wants to merge 1 commit into
NicolasFussberger wants to merge 1 commit into
Conversation
Member
|
What was the reason for using multiple messages originally? |
Contributor
Author
AFAIK the reasons were:
|
NicolasFussberger
force-pushed
the
simplify_report_running_handshake
branch
from
October 22, 2026 12:54
7abba73 to
c231acd
Compare
NicolasFussberger
marked this pull request as ready for review
October 22, 2026 12:56
NicolasFussberger
requested review from
FScholPer,
MaciejKaszynski,
anmittag,
antonkri,
pawelrutkaq and
ramceb
as code owners
October 22, 2026 12:56
NicolasFussberger
force-pushed
the
simplify_report_running_handshake
branch
from
October 22, 2026 13:57
c231acd to
2a15c39
Compare
NicolasFussberger
force-pushed
the
simplify_report_running_handshake
branch
from
October 23, 2026 13:21
2a15c39 to
dfc86c3
Compare
Contributor
|
Documentation preview for this pull request is available at: |
This branch has not been deployed
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.
Before: 3-way handshake
This introduces some potential problems that are unnecessary as the reply_sync_.wait and the second send_sync_.wait use fixed wait times of 1s and 100ms which might be off for a system under heavily load.
This can lead to cases where although the App has reported kRunning (first semaphore) it still fails in the daemon because the 2nd and 3rd semaphores timed out.
Simplified behavior:
Single semaphore to post kRunning.
Semaphore is destroyed when the process terminated.