-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds exponential backoff to MQTT #563
Conversation
Codecov Report
@@ Coverage Diff @@
## master #563 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 1 1
Lines 3 3
=====================================
Hits 3 3 Continue to review full report at Codecov.
|
@jmdobry PTAL or I can just merge, I had to refactor a little to keep the tests green. |
@@ -122,18 +137,42 @@ function createJwt (projectId, privateKeyFile, algorithm) { | |||
// messageCount. | |||
// [START iot_mqtt_publish] | |||
function publishAsync (messageCount, numMessages) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
messageCount
and numMessages
are basically synonymous, which one is used for what? Otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
🤖 I have created a release \*beep\* \*boop\* --- ## [2.4.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.6...v2.4.0) (2021-09-07) ### Features * turns on self-signed JWT feature flag ([#561](https://www.github.com/googleapis/nodejs-tasks/issues/561)) ([9fde4fe](https://www.github.com/googleapis/nodejs-tasks/commit/9fde4fe9a7274493ce0b4bb1a2d25bd85a3e9af2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release \*beep\* \*boop\* --- ## [2.4.0](https://www.github.com/googleapis/nodejs-tasks/compare/v2.3.6...v2.4.0) (2021-09-07) ### Features * turns on self-signed JWT feature flag ([#561](https://www.github.com/googleapis/nodejs-tasks/issues/561)) ([9fde4fe](https://www.github.com/googleapis/nodejs-tasks/commit/9fde4fe9a7274493ce0b4bb1a2d25bd85a3e9af2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
🤖 I have created a release \*beep\* \*boop\* --- ### [2.5.1](https://www.github.com/googleapis/nodejs-compute/compare/v2.5.0...v2.5.1) (2021-06-10) ### Bug Fixes * flaky test ([#563](https://www.github.com/googleapis/nodejs-compute/issues/563)) ([827a333](https://www.github.com/googleapis/nodejs-compute/commit/827a333443d6716b232fd21e00cc61a4df16aff0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 408439482 Source-Link: googleapis/googleapis@b9f6184 Source-Link: https://github.com/googleapis/googleapis-gen/commit/eb888bc214efc7bf43bf4634b470254565a659a5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
* remove dialogflow_delete_document region tag and code * remove dialogflow_delete_knowledge_base region tag and code * remove dialogflow_detect_intent_with_model_selection region tag and code * remove dialogflow_get_document region tag and code * remove dialogflow_get_knowledge_base region tag and code * remove dialogflow_list_document region tag and code * remove dialogflow_list_knowledge_base region tag and code * remove dialogflow_quickstart code * delete all dialogflow_create* region tags and code * remove dialogflow_delete* region tags and code * remove dialogflow_list* region tags and code * clean up comment span delimiters for deleted code * Update detect.v2beta1.js * Update detect.v2beta1.js * Update resource.js * Update detect.v2beta1.test.js * Update resource.test.js * Update detect.v2beta1.js * docs: remove broken yargs commands from sample deletes * Create create-document.v2beta1.test.js * Create create-intent.test.js * Create create-knowledge-base.v2beta1.test.js * Create create-session-entity-type.test.js * Create delete-intent.test.js * Create delete-session-entity-type.test.js * Update detect.v2beta1.test.js * Create list-session-entity-types.test.js * Update detect.v2beta1.js * Delete resource.test.js Co-authored-by: Your Name <[email protected]> Co-authored-by: Noah Negrey <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]>
* remove dialogflow_delete_document region tag and code * remove dialogflow_delete_knowledge_base region tag and code * remove dialogflow_detect_intent_with_model_selection region tag and code * remove dialogflow_get_document region tag and code * remove dialogflow_get_knowledge_base region tag and code * remove dialogflow_list_document region tag and code * remove dialogflow_list_knowledge_base region tag and code * remove dialogflow_quickstart code * delete all dialogflow_create* region tags and code * remove dialogflow_delete* region tags and code * remove dialogflow_list* region tags and code * clean up comment span delimiters for deleted code * Update detect.v2beta1.js * Update detect.v2beta1.js * Update resource.js * Update detect.v2beta1.test.js * Update resource.test.js * Update detect.v2beta1.js * docs: remove broken yargs commands from sample deletes * Create create-document.v2beta1.test.js * Create create-intent.test.js * Create create-knowledge-base.v2beta1.test.js * Create create-session-entity-type.test.js * Create delete-intent.test.js * Create delete-session-entity-type.test.js * Update detect.v2beta1.test.js * Create list-session-entity-types.test.js * Update detect.v2beta1.js * Delete resource.test.js Co-authored-by: Your Name <[email protected]> Co-authored-by: Noah Negrey <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]>
🤖 I have created a release \*beep\* \*boop\* --- ## [3.4.0](https://www.github.com/googleapis/nodejs-text-to-speech/compare/v3.3.1...v3.4.0) (2021-12-09) ### Features * adds support for MULAW and ALAW audio encoding ([#565](https://www.github.com/googleapis/nodejs-text-to-speech/issues/565)) ([cf7cb74](https://www.github.com/googleapis/nodejs-text-to-speech/commit/cf7cb74655a5bd1cfc13b670a4b620ac8dd78138)) * update v1beta1 proto ([#562](https://www.github.com/googleapis/nodejs-text-to-speech/issues/562)) ([0d78e6c](https://www.github.com/googleapis/nodejs-text-to-speech/commit/0d78e6c87e51c040c5f35064b53f96d1353f93b9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
* remove dialogflow_delete_document region tag and code * remove dialogflow_delete_knowledge_base region tag and code * remove dialogflow_detect_intent_with_model_selection region tag and code * remove dialogflow_get_document region tag and code * remove dialogflow_get_knowledge_base region tag and code * remove dialogflow_list_document region tag and code * remove dialogflow_list_knowledge_base region tag and code * remove dialogflow_quickstart code * delete all dialogflow_create* region tags and code * remove dialogflow_delete* region tags and code * remove dialogflow_list* region tags and code * clean up comment span delimiters for deleted code * Update detect.v2beta1.js * Update detect.v2beta1.js * Update resource.js * Update detect.v2beta1.test.js * Update resource.test.js * Update detect.v2beta1.js * docs: remove broken yargs commands from sample deletes * Create create-document.v2beta1.test.js * Create create-intent.test.js * Create create-knowledge-base.v2beta1.test.js * Create create-session-entity-type.test.js * Create delete-intent.test.js * Create delete-session-entity-type.test.js * Update detect.v2beta1.test.js * Create list-session-entity-types.test.js * Update detect.v2beta1.js * Delete resource.test.js Co-authored-by: Your Name <[email protected]> Co-authored-by: Noah Negrey <[email protected]> Co-authored-by: Benjamin E. Coe <[email protected]>
🤖 I have created a release \*beep\* \*boop\* --- ### [2.5.1](https://www.github.com/googleapis/nodejs-compute/compare/v2.5.0...v2.5.1) (2021-06-10) ### Bug Fixes * flaky test ([#563](https://www.github.com/googleapis/nodejs-compute/issues/563)) ([827a333](https://www.github.com/googleapis/nodejs-compute/commit/827a333443d6716b232fd21e00cc61a4df16aff0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release \*beep\* \*boop\* --- ### [2.5.1](https://www.github.com/googleapis/nodejs-compute/compare/v2.5.0...v2.5.1) (2021-06-10) ### Bug Fixes * flaky test ([#563](https://www.github.com/googleapis/nodejs-compute/issues/563)) ([827a333](https://www.github.com/googleapis/nodejs-compute/commit/827a333443d6716b232fd21e00cc61a4df16aff0)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
No description provided.