-
Notifications
You must be signed in to change notification settings - Fork 8
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
[APIPUB-72] Develop solution for processing rate limited/left over messages when warned #74
Conversation
…ssages when warned Add retry policy for rate limiting
Add new option to documentation
Test Results173 tests 173 ✅ 5s ⏱️ Results for commit ed2a67d. ♻️ This comment has been updated with latest results. |
Fix typo
throw new Exception( | ||
"Unable to reduce resource dependencies for processing key changes as expected (the infinite loop threshold was exceeded during processing)."); | ||
} | ||
//if (i == infiniteLoopProtectionThreshold) |
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.
Can we remove this code?
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.
I fixed that, we need the code
There are some warning with this message |
docs/API-Publisher-Configuration.md
Outdated
@@ -29,6 +29,7 @@ Defines general behavior of the Ed-Fi API Publisher. | |||
| Options:EnableRateLimit<br/>`--enableRateLimit` | Indicates whether or not to use rate limiting.<br/>(_Default value: false_) | | |||
| Options:RateLimitNumberExecutions<br/>`--rateLimitNumberExecutions` | Indicates the maximum number of executions allowed within the defined time window.<br/>(_Default value: 100_) | |
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.
Noticed that this documentation says default value is 100. But in the app Settings file it changed to 30.
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.
Fixed
Update default value
Add retry policy for rate limiting