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

fix: Update request method in windows Client interface to blocking call. #90

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

Honglichenn
Copy link
Contributor

@Honglichenn Honglichenn commented Mar 22, 2024

What was the problem/requirement? (What/Why)

In the WindowsClientInterface, it should wait indefinitely instead of having a timeout.

What was the solution? (How)

  1. Remove the timeout for waiting for the response.
  2. Add a DEFAULT_NAMED_PIPE_SERVER_TIMEOUT_IN_SECONDS to control the Server timeout separately.

What is the impact of this change?

The request method will become a blocking call aligning to the behavior that we have in Linux.

How was this change tested?

All tests passed

Was this change documented?

Design doc is updated as well.

Is this a breaking change?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Signed-off-by: Hongli Chen <honglich@amazon.com>
@Honglichenn Honglichenn force-pushed the honglich/update_timeout branch from 1bcba01 to 286dfc6 Compare March 22, 2024 02:49
@Honglichenn Honglichenn requested a review from epmog March 22, 2024 02:54
@Honglichenn Honglichenn marked this pull request as ready for review March 22, 2024 02:54
@Honglichenn Honglichenn requested a review from a team as a code owner March 22, 2024 02:54
@Honglichenn Honglichenn requested review from moorec-aws and removed request for epmog March 22, 2024 02:57
@ddneilson ddneilson self-requested a review March 22, 2024 02:57
moorec-aws
moorec-aws previously approved these changes Mar 22, 2024
@Honglichenn Honglichenn requested a review from ddneilson March 22, 2024 17:17
@ddneilson ddneilson merged commit e66d592 into mainline Mar 22, 2024
12 checks passed
@ddneilson ddneilson deleted the honglich/update_timeout branch March 22, 2024 20:20
This was referenced Mar 22, 2024
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.

3 participants