Skip to content

If the brpoplpush commands fails, wait before retrying#162

Merged
compwright merged 3 commits intobee-queue:masterfrom
chromaui:backoff-command-retries
Nov 22, 2022
Merged

If the brpoplpush commands fails, wait before retrying#162
compwright merged 3 commits intobee-queue:masterfrom
chromaui:backoff-command-retries

Conversation

@tmeasday
Copy link
Contributor

The current behaviour is to retry as fast as possible, leading to a spam of commands and error messages if the redis instance is for example unavailable for a brief period. It seems more sensible to take a bit more care in retrying.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 99.452% when pulling 45a4816 on tmeasday:backoff-command-retries into c92207e on bee-queue:master.

@coveralls
Copy link

coveralls commented Mar 15, 2019

Coverage Status

Coverage remained the same at 100.0% when pulling 2bc0b17 on chromaui:backoff-command-retries into 585f2af on bee-queue:master.

@skeggse skeggse self-assigned this Apr 17, 2020
@skeggse skeggse self-requested a review April 17, 2020 23:19
@compwright
Copy link
Collaborator

Thanks @tmeasday. I'm open to merging this in. Would you give it a rebase please?

@tmeasday tmeasday force-pushed the backoff-command-retries branch from 39094a3 to 9d9f0c8 Compare November 22, 2022 01:41
@tmeasday tmeasday force-pushed the backoff-command-retries branch from 9d9f0c8 to 2bc0b17 Compare November 22, 2022 02:14
@tmeasday
Copy link
Contributor Author

@compwright - done. Not sure what's happening with the failing test run.

@compwright
Copy link
Collaborator

@bradvogel I need to override the merge restriction here, the failure is due to a dev dependency no longer being supported on Node < 12, and all tests are passing.

@bradvogel
Copy link

@compwright I raised you permission level to "Maintain".

Do you have access now to fix CI to remove the old Node version?

@compwright
Copy link
Collaborator

@bradvogel I can edit the CI config file to remove the old versions no problem. I cannot edit the branch protections however to remove those old version checks from being required. I need to be a repo admin for that.

@bradvogel
Copy link

@compwright I just removed all Node versions < 12 from the CI check. This can now be merged.

@compwright compwright merged commit 657eb1f into bee-queue:master Nov 22, 2022
beequeueci pushed a commit that referenced this pull request Nov 22, 2022
## [1.4.1](v1.4.0...v1.4.1) (2022-11-22)

### Bug Fixes

* If the brpoplpush commands fails, wait before retrying ([#162](#162)) ([657eb1f](657eb1f))
@beequeueci
Copy link
Collaborator

🎉 This PR is included in version 1.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Comments