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

ARC-1231 fix preemptive rate limit negative number problem #1934

Merged

Conversation

gxueatlassian
Copy link
Contributor

What's in this PR?
Fix the negative number problem.

Why
Block the sync.

Added feature flags
N/A

Affected issues
Jira Issues

How has this been tested?
Unit test.

Whats Next?
N/A

@gxueatlassian gxueatlassian requested a review from a team as a code owner March 1, 2023 05:12
log.info({
timeToResetInSeconds,
finalTimeToRestInSeconds,
coreReset: rateLimitResponse?.resources?.core?.reset,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why just don't log the whole object?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this should be enough. But I don't have a strong reason either way though.

@gxueatlassian gxueatlassian merged commit e616487 into main Mar 1, 2023
@gxueatlassian gxueatlassian deleted the ARC-1231-fix-preemptive-ratelimit-negative-number branch March 1, 2023 05:18
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.

2 participants