@google-cloud/pubsub 4.0.1 → 4.0.2

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/@google-cloud/pubsub?activeTab=versions
6
6
 
7
+ ## [4.0.2](https://github.com/googleapis/nodejs-pubsub/compare/v4.0.1...v4.0.2) (2023-08-24)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * Make retry policy back off more aggressively for RPCs that retry RESOURCE_EXHAUSTD ([#1806](https://github.com/googleapis/nodejs-pubsub/issues/1806)) ([e9969ba](https://github.com/googleapis/nodejs-pubsub/commit/e9969bab92c38f1509b157034fcdbe5d5ec63903))
13
+
7
14
  ## [4.0.1](https://github.com/googleapis/nodejs-pubsub/compare/v4.0.0...v4.0.1) (2023-08-11)
8
15
 
9
16
 
package/README.md CHANGED
@@ -184,7 +184,7 @@ also contains samples.
184
184
 
185
185
  ## Supported Node.js Versions
186
186
 
187
- Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
187
+ Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
188
188
  Libraries are compatible with all current _active_ and _maintenance_ versions of
189
189
  Node.js.
190
190
  If you are using an end-of-life version of Node.js, we recommend that you update
@@ -34,6 +34,15 @@
34
34
  "rpc_timeout_multiplier": 1,
35
35
  "max_rpc_timeout_millis": 60000,
36
36
  "total_timeout_millis": 600000
37
+ },
38
+ "693222d32e887d96c8faeadca469f7763ccda85a": {
39
+ "initial_retry_delay_millis": 100,
40
+ "retry_delay_multiplier": 4,
41
+ "max_retry_delay_millis": 60000,
42
+ "initial_rpc_timeout_millis": 60000,
43
+ "rpc_timeout_multiplier": 1,
44
+ "max_rpc_timeout_millis": 60000,
45
+ "total_timeout_millis": 600000
37
46
  }
38
47
  },
39
48
  "methods": {
@@ -50,7 +59,7 @@
50
59
  "Publish": {
51
60
  "timeout_millis": 60000,
52
61
  "retry_codes_name": "cancelled_unknown_deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
53
- "retry_params_name": "default",
62
+ "retry_params_name": "693222d32e887d96c8faeadca469f7763ccda85a",
54
63
  "bundling": {
55
64
  "element_count_threshold": 100,
56
65
  "request_byte_threshold": 1048576,
@@ -38,6 +38,15 @@
38
38
  "rpc_timeout_multiplier": 1,
39
39
  "max_rpc_timeout_millis": 60000,
40
40
  "total_timeout_millis": 600000
41
+ },
42
+ "693222d32e887d96c8faeadca469f7763ccda85a": {
43
+ "initial_retry_delay_millis": 100,
44
+ "retry_delay_multiplier": 4,
45
+ "max_retry_delay_millis": 60000,
46
+ "initial_rpc_timeout_millis": 60000,
47
+ "rpc_timeout_multiplier": 1,
48
+ "max_rpc_timeout_millis": 60000,
49
+ "total_timeout_millis": 600000
41
50
  }
42
51
  },
43
52
  "methods": {
@@ -84,7 +93,7 @@
84
93
  "StreamingPull": {
85
94
  "timeout_millis": 900000,
86
95
  "retry_codes_name": "deadline_exceeded_resource_exhausted_aborted_internal_unavailable",
87
- "retry_params_name": "default"
96
+ "retry_params_name": "693222d32e887d96c8faeadca469f7763ccda85a"
88
97
  },
89
98
  "ModifyPushConfig": {
90
99
  "timeout_millis": 60000,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@google-cloud/pubsub",
3
3
  "description": "Cloud Pub/Sub Client Library for Node.js",
4
- "version": "4.0.1",
4
+ "version": "4.0.2",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc.",
7
7
  "engines": {