Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Sep 5, 2024

Motivation:

Finishing writes should be async as the underlying writer may need to flush and write out any buffered data.

Modifications:

  • Mark finish() as async
  • Refactor the in-proc client transport slightly to avoid async calls while holding a lock

Result:

finish is async

Motivation:

Finishing writes should be `async` as the underlying writer may need to
flush and write out any buffered data.

Modifications:

- Mark `finish()` as `async`
- Refactor the in-proc client transport slightly to avoid async calls
  while holding a lock

Result:

`finish` is `async`
@glbrntt glbrntt added the version/v2 Relates to v2 label Sep 5, 2024
@glbrntt glbrntt requested a review from gjcairo September 5, 2024 09:32
@glbrntt glbrntt enabled auto-merge (squash) September 5, 2024 09:32
@glbrntt glbrntt merged commit d4d1a2e into grpc:main Sep 5, 2024
15 of 17 checks passed
@glbrntt glbrntt deleted the v2/async-finish branch September 5, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version/v2 Relates to v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants