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

Hubspot throttler optimization: 9 requests every 5 seconds max #1533

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

epipav
Copy link
Collaborator

@epipav epipav commented Sep 21, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 5e89e3e

Reduced the request rate and concurrency of the RequestThrottler for the Hubspot integration. This improves the integration performance and avoids rate limit errors.

🤖 Generated by Copilot at 5e89e3e

RequestThrottler
Slows down Hubspot requests -
Winter of refactoring

Why

How

🤖 Generated by Copilot at 5e89e3e

  • Reduce the request concurrency and interval to the Hubspot API to avoid rate limits and improve performance ([link](https://github.com/CrowdDotDev/crowd.dev/pull/1533/files?diff=unified&w=0#diff-9f1e520577b76cc5d6a43ee5a18bb292de586ed1bcaa63270bad90caf79268c6L18-R18))

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@epipav epipav marked this pull request as ready for review September 21, 2023 14:13
@epipav epipav merged commit ffc6f0c into main Sep 21, 2023
6 of 7 checks passed
@epipav epipav deleted the bugfix/throttler-improvements-hubspot branch September 21, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant