Skip to content

Commit 7e11e11

Browse files
fix: improve retry logic for streaming API calls (#1484)
- [ ] 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
1 parent 9934022 commit 7e11e11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/v2/logging_service_v2_client.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ export class LoggingServiceV2Client {
312312
this.descriptors.stream = {
313313
tailLogEntries: new this._gaxModule.StreamDescriptor(
314314
this._gaxModule.StreamType.BIDI_STREAMING,
315-
!!opts.fallback
315+
!!opts.fallback,
316+
/* gaxStreamingRetries: */ true
316317
),
317318
};
318319

0 commit comments

Comments
 (0)