@google-cloud/spanner 7.11.0 → 7.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
6
6
 
7
+ ## [7.12.0](https://github.com/googleapis/nodejs-spanner/compare/v7.11.0...v7.12.0) (2024-08-02)
8
+
9
+
10
+ ### Features
11
+
12
+ * Grpc keep alive settings ([#2086](https://github.com/googleapis/nodejs-spanner/issues/2086)) ([7712c35](https://github.com/googleapis/nodejs-spanner/commit/7712c35be21863015bb709f5f89d9ef0bb656024))
13
+
7
14
  ## [7.11.0](https://github.com/googleapis/nodejs-spanner/compare/v7.10.0...v7.11.0) (2024-07-29)
8
15
 
9
16
 
@@ -147,6 +147,9 @@ class Spanner extends service_1.GrpcService {
147
147
  libName: 'gccl',
148
148
  libVersion: require('../../package.json').version,
149
149
  scopes,
150
+ // Add grpc keep alive setting
151
+ 'grpc.keepalive_time_ms': 30000,
152
+ 'grpc.keepalive_timeout_ms': 10000,
150
153
  // Enable grpc-gcp support
151
154
  'grpc.callInvocationTransformer': grpcGcp.gcpCallInvocationTransformer,
152
155
  'grpc.channelFactoryOverride': grpcGcp.gcpChannelFactoryOverride,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@google-cloud/spanner",
3
3
  "description": "Cloud Spanner Client Library for Node.js",
4
- "version": "7.11.0",
4
+ "version": "7.12.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc.",
7
7
  "engines": {