Skip to content
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

Increase delay between JP connection attempts #5090

Merged
merged 5 commits into from
Dec 12, 2023

Conversation

WPprodigy
Copy link
Contributor

No description provided.

@WPprodigy WPprodigy requested a review from a team as a code owner December 11, 2023 23:12
@rinatkhaziev
Copy link
Contributor

tests are borketh @WPprodigy

@rinatkhaziev
Copy link
Contributor

I think ideally we might want to have a max running requests cap for large multisites.

@WPprodigy
Copy link
Contributor Author

WPprodigy commented Dec 12, 2023

Hmm, multiply by 6 isn't really so nice.

  1. First run
  2. Second run: +1 hour
  3. Third run: +6 hours
  4. Fourth run: +36 hours
  5. Fifth run: +216 hours
  6. Sixth run: +3 weeks (hits cap, otherwise +1296 hours)

Going to change and just pick ideal increments instead. The current behavior is:

  1. First run
  2. 1 hour
  3. 2 hours
  4. 4 hours
  5. 8 hours
  6. 16 hours
  7. 32 hours
  8. 64 hours
  9. 128 hours (5 days and 8 hours)
  10. 1 week (max)

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@WPprodigy WPprodigy merged commit 0d8c597 into develop Dec 12, 2023
36 checks passed
@WPprodigy WPprodigy deleted the update/jp-connection-pilot-backoff branch December 12, 2023 20:23
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.

2 participants