Skip to content
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

Block in the application instead of the udsreceiver after running #240

Merged
merged 2 commits into from
Jun 7, 2022

Conversation

dxsup
Copy link
Member

@dxsup dxsup commented Jun 7, 2022

Description

  1. Block the program in the main function instead of the udsreceiver after running. This is necessary if we want to replace the current receiver, otherwise, the application will exit immediately.
  2. Fix the typo shutdwonState to shutdownState in the udsreceiver.
  3. Set receiving high water mark of the pull socket instead of sending.

Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup requested a review from NeJan2020 June 7, 2022 08:05
collector/application/application.go Outdated Show resolved Hide resolved
collector/application/application.go Outdated Show resolved Hide resolved
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup merged commit 1d10a01 into KindlingProject:main Jun 7, 2022
@dxsup dxsup deleted the fix/wait-in-application branch June 7, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants