Skip to content

Commit

Permalink
fix: improve retry logic for streaming API calls (#1484)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

build: update typescript generator version to 4.3.0

The streaming API call retry logic has changed, which in some rare cases may require code changes. Please feel free to reach out to us in the issues if you experience new problems with retrying streaming calls after this update.

PiperOrigin-RevId: 599622271

Source-Link: https://togithub.com/googleapis/googleapis/commit/6239c217f083277d7a43c8bee55969654c3b2fee

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/da13d8222d3ba33734501999864458640f1405ae
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGExM2Q4MjIyZDNiYTMzNzM0NTAxOTk5ODY0NDU4NjQwZjE0MDVhZSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jan 24, 2024
1 parent 9934022 commit 7e11e11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/v2/logging_service_v2_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 312,8 @@ export class LoggingServiceV2Client {
this.descriptors.stream = {
tailLogEntries: new this._gaxModule.StreamDescriptor(
this._gaxModule.StreamType.BIDI_STREAMING,
!!opts.fallback
!!opts.fallback,
/* gaxStreamingRetries: */ true
),
};

Expand Down

0 comments on commit 7e11e11

Please sign in to comment.