Skip to content

Conversation

surbhigarg92
Copy link
Contributor

This PR sets default grpc keep alive options for Spanner library

'grpc.keepalive_time_ms': 30000,
'grpc.keepalive_timeout_ms': 10000,

These settings can be over written by passing to spanner options

const spanner = new Spanner({ 
    'grpc.keepalive_time_ms': 30000,
    'grpc.keepalive_timeout_ms': 10000,
  });

@surbhigarg92 surbhigarg92 requested review from a team as code owners August 1, 2024 05:24
@alkatrivedi alkatrivedi self-requested a review August 1, 2024 06:15
@surbhigarg92 surbhigarg92 added do not merge Indicates a pull request not ready for merge, due to either quality or timing. owlbot:run Add this label to trigger the Owlbot post processor. labels Aug 1, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2024
@olavloite olavloite changed the title chore: grpc keep alive settings feat: grpc keep alive settings Aug 1, 2024
@olavloite
Copy link
Contributor

I changed the title of the PR to feat: instead of chore:, because I think this should go into the release notes.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/nodejs-spanner API. label Aug 1, 2024
@surbhigarg92 surbhigarg92 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Aug 2, 2024
@surbhigarg92 surbhigarg92 merged commit 7712c35 into googleapis:main Aug 2, 2024
16 checks passed
@surbhigarg92 surbhigarg92 deleted the grpc_keepalive branch August 2, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/nodejs-spanner API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants